public class UserAgent extends Object implements IUserAgent
Constructor and Description |
---|
UserAgent(String userAgentString,
Collection<UserAgentDetail> details) |
Modifier and Type | Method and Description |
---|---|
Collection<UserAgentDetail> |
details()
Returns all the details that describe the user agent.
|
String |
toString() |
String |
userAgentString()
The user agent string passed in the HTTP header.
|
public UserAgent(String userAgentString, Collection<UserAgentDetail> details)
public Collection<UserAgentDetail> details()
IUserAgent
details
in interface IUserAgent
IUserAgent.details()
public String userAgentString()
IUserAgent
userAgentString
in interface IUserAgent
IUserAgent.userAgentString()
Copyright © 2016. All Rights Reserved.