wicket.protocol.http.request
Class WebClientInfo

java.lang.Object
  extended by wicket.request.ClientInfo
      extended by wicket.protocol.http.request.WebClientInfo
All Implemented Interfaces:
java.io.Serializable

public class WebClientInfo
extends ClientInfo

Default client info object for web applications. Based on nextapp.echo2.webrender.ClientAnalyzerProcessor from collegue java webapplication framework NextApp Echo 2.

Author:
Eelco Hillenius
See Also:
Serialized Form

Constructor Summary
WebClientInfo(WebRequestCycle requestCycle)
          Construct.
WebClientInfo(WebRequestCycle requestCycle, java.lang.String userAgent)
          Construct.
 
Method Summary
 ClientProperties getProperties()
          Gets the client properties object.
 java.lang.String getUserAgent()
          Gets the user agent string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebClientInfo

public WebClientInfo(WebRequestCycle requestCycle)
Construct.

Parameters:
requestCycle - the request cycle

WebClientInfo

public WebClientInfo(WebRequestCycle requestCycle,
                     java.lang.String userAgent)
Construct.

Parameters:
requestCycle - the request cycle
userAgent - the user agent
Method Detail

getUserAgent

public final java.lang.String getUserAgent()
Gets the user agent string.

Returns:
the user agent string

getProperties

public final ClientProperties getProperties()
Gets the client properties object.

Returns:
the client properties object


Copyright © 2004-2007 Wicket developers. All Rights Reserved.