Package nva.commons.core.useragent
Class UserAgent
java.lang.Object
nva.commons.core.useragent.UserAgent
When sending HTTP requests, applying a User-Agent header allows the recipient to know who is executing the request.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAllows the building of a valid UserAgent string. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic UserAgent.UserAgentBuilderCreates a new UserAgentBuilder.toString()Creates the actual string value.
-
Field Details
-
USER_AGENT
For convenience, we provide the header.- See Also:
-
-
Method Details