public final class UserAgent extends HeaderString
The user agent string of the user agent.
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/21.0
User-Agent = "User-Agent" ":" 1*( product | comment )
Example:
User-Agent: CERN-LineMode/2.15 libwww/2.17b3
Modifier and Type | Method and Description |
---|---|
static UserAgent |
forString(String value)
Returns a parsed
User-Agent header. |
asString, eq, eqIC, toString
Copyright © 2018 Apache. All rights reserved.