public static interface HttpClientContext.HttpClientContextBuilder extends BaseUrlAccessor.BaseUrlProperty, BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<HttpClientContext.HttpClientContextBuilder>
HttpClientContext.HttpClientContextBuilder
interface extends the
HttpClientContext
with builder functionality as of the builder
pattern.BaseUrlAccessor.BaseUrlBuilder<B extends BaseUrlAccessor.BaseUrlBuilder<B>>, BaseUrlAccessor.BaseUrlMutator, BaseUrlAccessor.BaseUrlProperty
org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B extends org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B>>, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
getBaseUrl
setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl
default HttpClientContext.HttpClientContextBuilder withBaseUrl(Url aBaseUrl)
Url
(protocol, host, port, path) for the base URL
(protocol, host, port, path) property.withBaseUrl
in interface BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>
aBaseUrl
- The base URL (protocol, host, port, path) to be
stored by the local address property.default HttpClientContext.HttpClientContextBuilder withBaseUrl(URL aBaseURL)
withBaseUrl
in interface BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>
aBaseURL
- The base URL (protocol, host, port, path) to be
stored by the local address property.default HttpClientContext.HttpClientContextBuilder withBaseUrl(String aBaseUrl) throws MalformedURLException
BaseUrlAccessor.BaseUrlBuilder.withBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given String
.withBaseUrl
in interface BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>
aBaseUrl
- The String
representing the URL
.MalformedURLException
- in case the String
cannot be
converted to a valid (accepted) URL
.default HttpClientContext.HttpClientContextBuilder withBaseUrl(String aProtocol, String aHost) throws MalformedURLException
BaseUrlAccessor.BaseUrlBuilder.withBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given parameters.withBaseUrl
in interface BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
base URL
.aHost
- The host to which the base URL
is to point to.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default HttpClientContext.HttpClientContextBuilder withBaseUrl(org.refcodes.data.Scheme aScheme, String aHost) throws MalformedURLException
BaseUrlAccessor.BaseUrlBuilder.withBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given parameters.withBaseUrl
in interface BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>
aScheme
- The Scheme
(e.g. Scheme.HTTP
or
Scheme.HTTPS
) to be used for the base URL
.aHost
- The host to which the base URL
is to point to.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default HttpClientContext.HttpClientContextBuilder withBaseUrl(String aProtocol, String aHost, String aPath) throws MalformedURLException
BaseUrlAccessor.BaseUrlBuilder.withBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given parameters.withBaseUrl
in interface BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
base URL
.aHost
- The host to which the base URL
is to point to.aPath
- The path on the host to which the base URL
is to
point to.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default HttpClientContext.HttpClientContextBuilder withBaseUrl(org.refcodes.data.Scheme aScheme, String aHost, String aPath) throws MalformedURLException
BaseUrlAccessor.BaseUrlBuilder.withBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given parameters.withBaseUrl
in interface BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>
aScheme
- The Scheme
(e.g. Scheme.HTTP
or
Scheme.HTTPS
) to be used for the base URL
.aHost
- The host to which the base URL
is to point to.aPath
- The path on the host to which the base URL
is to
point to.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default HttpClientContext.HttpClientContextBuilder withBaseUrl(String aProtocol, String aHost, int aPort) throws MalformedURLException
BaseUrlAccessor.BaseUrlMutator.setBaseUrl(String, String, int)
.withBaseUrl
in interface BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
base URL
.aHost
- The host to which the base URL
is to point to.aPort
- The port to be used when connecting to the host.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default HttpClientContext.HttpClientContextBuilder withBaseUrl(org.refcodes.data.Scheme aScheme, String aHost, int aPort) throws MalformedURLException
BaseUrlAccessor.BaseUrlMutator.setBaseUrl(Scheme, String, int)
.withBaseUrl
in interface BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>
aScheme
- The Scheme
(e.g. Scheme.HTTP
or
Scheme.HTTPS
) to be used for the base URL
.aHost
- The host to which the base URL
is to point to.aPort
- The port to be used when connecting to the host.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default HttpClientContext.HttpClientContextBuilder withBaseUrl(String aProtocol, String aHost, int aPort, String aPath) throws MalformedURLException
BaseUrlAccessor.BaseUrlMutator.setBaseUrl(String, String, int, String)
.withBaseUrl
in interface BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
base URL
.aHost
- The host to which the base URL
is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base URL
is to
point to.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default HttpClientContext.HttpClientContextBuilder withBaseUrl(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath) throws MalformedURLException
BaseUrlAccessor.BaseUrlMutator.setBaseUrl(Scheme, String, int, String)
.withBaseUrl
in interface BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>
aScheme
- The Scheme
(e.g. Scheme.HTTP
or
Scheme.HTTPS
) to be used for the base URL
.aHost
- The host to which the base URL
is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base URL
is to
point to.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default HttpClientContext.HttpClientContextBuilder withTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
withTrustStoreDescriptor
in interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<HttpClientContext.HttpClientContextBuilder>
Copyright © 2018. All rights reserved.