public class Agent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Agent.AgentId
Defines the various known agents.
|
| Constructor and Description |
|---|
Agent(Agent.AgentId id,
String version) |
| Modifier and Type | Method and Description |
|---|---|
static Agent |
fromUserAgent(String userAgent)
Create an
Agent based on the specified User-Agent header. |
Agent.AgentId |
getId() |
String |
getVersion() |
public Agent(Agent.AgentId id, String version)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.