- All Known Subinterfaces:
ILoggableRequestHandler,IRequestHandlerDelegate
- All Known Implementing Classes:
EmptyRequestHandler,ErrorCodeRequestHandler,RedirectRequestHandler,TextRequestHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A request handler is the base entity that is the subject of a request. Different types of request
have different request handlers. For instance a request for a bookmarkable page differs from a
request for a link on a previously rendered page, which in turn differs from a request for a
shared resource.
- Author:
- Eelco Hillenius, Matej Knopp
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddetach(IRequestCycle requestCycle) This method is called at the end of a request cycle to indicate that processing is done and that cleaning up of the subject(s) of this target may be done.voidrespond(IRequestCycle requestCycle) Generates a response.
-
Method Details
-
respond
Generates a response.- Parameters:
requestCycle- the current request cycle
-
detach
This method is called at the end of a request cycle to indicate that processing is done and that cleaning up of the subject(s) of this target may be done.- Parameters:
requestCycle- the current request cycle
-