org.apache.wicket.core.request.mapper
Class BufferedResponseMapper

java.lang.Object
  extended by org.apache.wicket.core.request.mapper.BufferedResponseMapper
All Implemented Interfaces:
IRequestMapper

public class BufferedResponseMapper
extends Object
implements IRequestMapper

Encoder that intercepts requests for which there is already stored buffer with rendered data.

Author:
Matej Knopp

Constructor Summary
BufferedResponseMapper()
          Construct.
 
Method Summary
protected  BufferedWebResponse getAndRemoveBufferedResponse(Url url)
           
 int getCompatibilityScore(Request request)
           
protected  String getSessionId()
           
protected  boolean hasBufferedResponse(Url url)
           
 Url mapHandler(IRequestHandler requestHandler)
           
 IRequestHandler mapRequest(Request request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(Url url)

getAndRemoveBufferedResponse

protected BufferedWebResponse getAndRemoveBufferedResponse(Url url)

mapRequest

public IRequestHandler mapRequest(Request request)
Specified by:
mapRequest in interface IRequestMapper
See Also:
IRequestMapper.mapRequest(org.apache.wicket.request.Request)

mapHandler

public Url mapHandler(IRequestHandler requestHandler)
Specified by:
mapHandler in interface IRequestMapper
See Also:
IRequestMapper.mapHandler(org.apache.wicket.request.IRequestHandler)

getCompatibilityScore

public int getCompatibilityScore(Request request)
Specified by:
getCompatibilityScore in interface IRequestMapper
See Also:
IRequestMapper.getCompatibilityScore(org.apache.wicket.request.Request)


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.