|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.core.request.handler.RequestSettingRequestHandler
public class RequestSettingRequestHandler
A IRequestHandler that sets the current Request before delegating the responding
to a wrapped request handler. This is useful when the request received from the browser is not the same
request used to respond, like when the request mapper clones the request with a new URL.
| Constructor Summary | |
|---|---|
RequestSettingRequestHandler(Request request,
IRequestHandler delegate)
Creates a new instance |
|
| Method Summary | |
|---|---|
void |
detach(IRequestCycle requestCycle)
|
IRequestHandler |
getDelegateHandler()
Returns the request handler to which responding will be delegated. |
Request |
getRequest()
Returns the request that will be set before responding. |
void |
respond(IRequestCycle requestCycle)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestSettingRequestHandler(Request request,
IRequestHandler delegate)
request - The request to use when respondingdelegate - The request handler to delegate responding to| Method Detail |
|---|
public Request getRequest()
public IRequestHandler getDelegateHandler()
getDelegateHandler in interface IRequestHandlerDelegatepublic void respond(IRequestCycle requestCycle)
respond in interface IRequestHandlerpublic void detach(IRequestCycle requestCycle)
detach in interface IRequestHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||