Java Reference
In-Depth Information
RequestComplete
This life-cycle stage is executed at the end of the request, no matter
what. All previous stages could be interrupted by an unhandled excep-
tion, but RequestComplete is executed in a finally block to ensure that
it is called. An interceptor that executes at this stage is the perfect
place for such things as releasing database connections, cleaning up
resources, and so on.
What's Next?
You learned a ton about how the internals of Stripes work, includ-
ing handling exceptions, customizing URL bindings, and writing code
that intercepts the handling of a request at any life-cycle stage. This is
very powerful stuff. Mastering Stripes and being able to tinker with the
insides is good news for you, the developer. On the other hand, users
messing with the insides of your application is bad news, and that's
why we'll address security issues next.
 
 
Search WWH ::




Custom Search