use of org.apache.wicket.core.request.handler.BufferedResponseRequestHandler in project wicket by apache.
the class BufferedResponseMapper method mapRequest.
/**
* @see org.apache.wicket.request.IRequestMapper#mapRequest(org.apache.wicket.request.Request)
*/
@Override
public IRequestHandler mapRequest(Request request) {
request = getRequest(request);
BufferedWebResponse response = getAndRemoveBufferedResponse(request.getUrl());
if (response != null) {
return new BufferedResponseRequestHandler(response);
} else {
return null;
}
}
Aggregations