Package | Description |
---|---|
org.restlet.data |
Information exchanged by components.
|
org.restlet.engine.http.header |
Supports HTTP header parsing and formatting.
|
Modifier and Type | Method and Description |
---|---|
Product |
ClientInfo.getMainAgentProduct()
Returns a Product object based on the name of the user agent.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Product> |
ClientInfo.getAgentProducts()
Returns the list of product tokens from the user agent name.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientInfo.setAgentProducts(java.util.List<Product> agentProducts)
Sets the list of product tokens from the user agent name.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Product> |
ProductReader.read(java.lang.String userAgent)
Parses the given user agent String to a list of Product instances.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ProductWriter.write(java.util.List<Product> products)
Formats the given List of Products to a String.
|
Copyright © 2005-2012. All Rights Reserved.