Interface RequestCycleSettingsMBean

All Known Implementing Classes:
RequestCycleSettings

public interface RequestCycleSettingsMBean
Request cycle settings.
Author:
eelcohillenius
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    boolean
    Gets whether Wicket should try to get extensive client info by redirecting to a page that polls for client capabilities.
    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.
    Gets the time (in milliseconds) that a request will by default be waiting for the previous request to be handled before giving up.
    void
    setBufferResponse(boolean bufferResponse)
     
    void
    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. see http://www.crazysquirrel.com/computing/general/form-encoding.jspx for additional information.
    void
    setTimeout(String timeout)
    Sets the time (in milliseconds) that a request will by default be waiting for the previous request to be handled before giving up.
  • Method Details

    • getBufferResponse

      Returns:
      True if this application buffers its responses
    • 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 Session.getClientInfo(), so if that method is overridden, there is no guarantee this method will be taken into account.
      Returns:
      Whether to gather extensive client info
    • 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

      Gets the time (in milliseconds) that a request will by default be waiting for the previous request to be handled before giving up.
      Returns:
      The time out in milliseconds
    • 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 Session.getClientInfo(), so if that method is overridden, there is no guarantee this method will be taken into account.
      Parameters:
      gatherExtendedBrowserInfo - Whether to gather extensive client info
    • setResponseRequestEncoding

      void setResponseRequestEncoding(String responseRequestEncoding) throws UnsupportedEncodingException
      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.
      Throws:
      UnsupportedEncodingException - is encoding is not supported
    • setTimeout

      void setTimeout(String timeout)
      Sets the time (in milliseconds) that a request will by default be waiting for the previous request to be handled before giving up.
      Parameters:
      timeout - in milliseconds
    • setExceptionRetryCount

      void setExceptionRetryCount(int retries)
      Sets how many attempts Wicket will make to render the exception request handler before giving up.
      Parameters:
      retries - the number of attempts
    • getExceptionRetryCount

      Returns:
      How many times will Wicket attempt to render the exception request handler before giving up.