Class BufferedResponseMapper
- java.lang.Object
-
- org.apache.wicket.core.request.mapper.BufferedResponseMapper
-
- All Implemented Interfaces:
org.apache.wicket.request.IRequestMapper
public class BufferedResponseMapper extends Object implements org.apache.wicket.request.IRequestMapper
Encoder that intercepts requests for which there is already stored buffer with rendered data.- Author:
- Matej Knopp
-
-
Constructor Summary
Constructors Constructor Description BufferedResponseMapper()
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BufferedWebResponse
getAndRemoveBufferedResponse(org.apache.wicket.request.Url url)
int
getCompatibilityScore(org.apache.wicket.request.Request request)
protected String
getSessionId()
protected boolean
hasBufferedResponse(org.apache.wicket.request.Url url)
org.apache.wicket.request.Url
mapHandler(org.apache.wicket.request.IRequestHandler requestHandler)
org.apache.wicket.request.IRequestHandler
mapRequest(org.apache.wicket.request.Request request)
-
-
-
Constructor Detail
-
BufferedResponseMapper
public BufferedResponseMapper()
Construct.
-
-
Method Detail
-
getSessionId
protected String getSessionId()
- Returns:
- the current session id for stateful pages and
null
for stateless pages and non-http threads
-
hasBufferedResponse
protected boolean hasBufferedResponse(org.apache.wicket.request.Url url)
-
getAndRemoveBufferedResponse
protected BufferedWebResponse getAndRemoveBufferedResponse(org.apache.wicket.request.Url url)
-
mapRequest
public org.apache.wicket.request.IRequestHandler mapRequest(org.apache.wicket.request.Request request)
- Specified by:
mapRequest
in interfaceorg.apache.wicket.request.IRequestMapper
- See Also:
IRequestMapper.mapRequest(org.apache.wicket.request.Request)
-
mapHandler
public org.apache.wicket.request.Url mapHandler(org.apache.wicket.request.IRequestHandler requestHandler)
- Specified by:
mapHandler
in interfaceorg.apache.wicket.request.IRequestMapper
- See Also:
IRequestMapper.mapHandler(org.apache.wicket.request.IRequestHandler)
-
getCompatibilityScore
public int getCompatibilityScore(org.apache.wicket.request.Request request)
- Specified by:
getCompatibilityScore
in interfaceorg.apache.wicket.request.IRequestMapper
- See Also:
IRequestMapper.getCompatibilityScore(org.apache.wicket.request.Request)
-
-