org.apache.wicket.jmx
Interface RequestCycleSettingsMBean

All Known Implementing Classes:
RequestCycleSettings

public interface RequestCycleSettingsMBean

Request cycle settings.

Author:
eelcohillenius

Method Summary
 boolean getBufferResponse()
           
 boolean getGatherExtendedBrowserInfo()
          Gets whether Wicket should try to get extensive client info by redirecting to a page that polls for client capabilities.
 String getResponseRequestEncoding()
          In order to do proper form parameter decoding it is important that the response and the following request have the same encoding.
 String getTimeout()
          Gets the time that a request will by default be waiting for the previous request to be handled before giving up.
 void setBufferResponse(boolean bufferResponse)
           
 void setGatherExtendedBrowserInfo(boolean gatherExtendedBrowserInfo)
          Sets whether Wicket should try to get extensive client info by redirecting to a page that polls for client capabilities.
 void setResponseRequestEncoding(String responseRequestEncoding)
          In order to do proper form parameter decoding it is important that the response and the following request have the same encoding.
 void setTimeout(String timeout)
          Sets the time that a request will by default be waiting for the previous request to be handled before giving up.
 

Method Detail

getBufferResponse

boolean getBufferResponse()
Returns:
True if this application buffers its responses

getGatherExtendedBrowserInfo

boolean getGatherExtendedBrowserInfo()
Gets whether Wicket should try to get extensive client info by redirecting to a page that polls for client capabilities. This method is used by the default implementation of WebRequestCycle.newClientInfo(), so if that method is overriden, there is no guarantee this method will be taken into account.

Returns:
Whether to gather extensive client info

getResponseRequestEncoding

String getResponseRequestEncoding()
In order to do proper form parameter decoding it is important that the response and the following request have the same encoding. see http://www.crazysquirrel.com/computing/general/form-encoding.jspx for additional information.

Returns:
The request and response encoding

getTimeout

String getTimeout()
Gets the time that a request will by default be waiting for the previous request to be handled before giving up.

Returns:
The time out

setBufferResponse

void setBufferResponse(boolean bufferResponse)
Parameters:
bufferResponse - True if this application should buffer responses.

setGatherExtendedBrowserInfo

void setGatherExtendedBrowserInfo(boolean gatherExtendedBrowserInfo)
Sets whether Wicket should try to get extensive client info by redirecting to a page that polls for client capabilities. This method is used by the default implementation of WebRequestCycle.newClientInfo(), so if that method is overriden, there is no guarantee this method will be taken into account.

Parameters:
gatherExtendedBrowserInfo - Whether to gather extensive client info

setResponseRequestEncoding

void setResponseRequestEncoding(String responseRequestEncoding)
In order to do proper form parameter decoding it is important that the response and the following request have the same encoding. see http://www.crazysquirrel.com/computing/general/form-encoding.jspx for additional information. Default encoding: UTF-8

Parameters:
responseRequestEncoding - The request and response encoding to be used.

setTimeout

void setTimeout(String timeout)
Sets the time that a request will by default be waiting for the previous request to be handled before giving up.

Parameters:
timeout -


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.