public interface UserAgentValueProvider
ServiceLoader
for details.
To conform to RFC 2616 Section 14.43, consider prepending the value
from the UserAgentValueProvider.DEFAULT
provider with your own user agent.ServiceLoader
,
Http.UserAgent
Modifier and Type | Interface and Description |
---|---|
static class |
UserAgentValueProvider.DEFAULT |
Modifier and Type | Method and Description |
---|---|
String |
getHeaderValue() |
String |
getHeaderValue(String customPart) |
Copyright © 2017. All rights reserved.