public interface RequestCycleSettingsMBean
Modifier and Type | Method and Description |
---|---|
boolean |
getBufferResponse() |
int |
getExceptionRetryCount() |
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 |
setExceptionRetryCount(int retries)
Sets how many attempts Wicket will make to render the exception request handler before
giving up.
|
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.
|
boolean getBufferResponse()
boolean getGatherExtendedBrowserInfo()
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.String getResponseRequestEncoding()
String getTimeout()
void setBufferResponse(boolean bufferResponse)
bufferResponse
- True if this application should buffer responses.void setGatherExtendedBrowserInfo(boolean gatherExtendedBrowserInfo)
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.gatherExtendedBrowserInfo
- Whether to gather extensive client infovoid setResponseRequestEncoding(String responseRequestEncoding) throws UnsupportedEncodingException
responseRequestEncoding
- The request and response encoding to be used.UnsupportedEncodingException
- is encoding is not supportedvoid setTimeout(String timeout)
timeout
- void setExceptionRetryCount(int retries)
retries
- the number of attemptsint getExceptionRetryCount()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.