- All Known Subinterfaces:
AjaxRequestTarget
,IComponentRequestHandler
,ILoggableRequestHandler
,IPageClassRequestHandler
,IPageRequestHandler
,IPartialPageRequestHandler
,IRequestHandlerDelegate
,IWebSocketRequestHandler
- All Known Implementing Classes:
AbstractPartialPageRequestHandler
,AjaxRequestHandler
,BookmarkableListenerRequestHandler
,BookmarkablePageRequestHandler
,BufferedResponseRequestHandler
,ComponentRenderingRequestHandler
,EmptyAjaxRequestHandler
,EmptyRequestHandler
,ErrorCodeRequestHandler
,HttpsMapper.RedirectHandler
,ListenerRequestHandler
,RedirectRequestHandler
,RenderPageRequestHandler
,RequestSettingRequestHandler
,ResourceReferenceRequestHandler
,ResourceRequestHandler
,ResourceStreamRequestHandler
,TextRequestHandler
,WebExternalResourceRequestHandler
,WebSocketMessageBroadcastHandler
,WebSocketRequestHandler
- 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 void
detach
(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.void
respond
(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
-