Class ProxyConfiguration
java.lang.Object
com.palantir.conjure.java.api.config.service.ProxyConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyConfiguration.Builderbuilder()protected final voidcheck()abstract Optional<BasicCredentials> Credentials if the proxy needs authentication.The hostname and port of the HTTP/HTTPS Proxy.static ProxyConfigurationstatic ProxyConfigurationstatic ProxyConfigurationof(String hostAndPort, BasicCredentials credentials) static ProxyConfigurationtype()The type of Proxy.
-
Field Details
-
DIRECT
-
-
Constructor Details
-
ProxyConfiguration
public ProxyConfiguration()
-
-
Method Details
-
hostAndPort
-
credentials
Credentials if the proxy needs authentication. -
type
The type of Proxy. Defaults toProxyConfiguration.Type.HTTP.TODO(rfink): Would be great to make this field required, but that's a config break.
-
check
@Check protected final void check() -
of
-
of
-
mesh
-
socks
-
builder
-