Package | Description |
---|---|
org.restlet.data | |
org.restlet.engine.header |
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 |
---|---|
List<Product> |
ClientInfo.getAgentProducts()
Returns the list of product tokens from the user agent name.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientInfo.setAgentProducts(List<Product> agentProducts)
Sets the list of product tokens from the user agent name.
|
Modifier and Type | Method and Description |
---|---|
static List<Product> |
ProductReader.read(String userAgent)
Parses the given user agent String to a list of Product instances.
|
Modifier and Type | Method and Description |
---|---|
static String |
ProductWriter.write(List<Product> products)
Formats the given List of Products to a String.
|
Copyright © 2005–2015. All rights reserved.