java.lang.Object
org.apache.wicket.core.request.ClientInfo
org.apache.wicket.protocol.http.request.WebClientInfo
All Implemented Interfaces:
Serializable, IClusterable

public class WebClientInfo extends ClientInfo
Default client info object for web applications.
Author:
Eelco Hillenius
See Also:
  • Constructor Details

  • Method Details

    • getProperties

      Gets the client properties object.
      Returns:
      the client properties object
    • getUserAgent

      public final String getUserAgent()
      returns the user agent string.
      Returns:
      the user agent string
    • getRemoteAddr

      protected String getRemoteAddr(RequestCycle requestCycle)
      Returns the IP address from HttpServletRequest.getRemoteAddr().
      Parameters:
      requestCycle - the request cycle
      Returns:
      remoteAddr IP address of the client, using getHttpServletRequest().getRemoteAddr()