Package org.refcodes.net
Class HttpClientContextBuilderImpl
- java.lang.Object
-
- org.refcodes.net.HttpClientContextBuilderImpl
-
- All Implemented Interfaces:
BaseUrlAccessor
,BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>
,BaseUrlAccessor.BaseUrlMutator
,BaseUrlAccessor.BaseUrlProperty
,HttpClientContext.HttpClientContextBuilder
,org.refcodes.security.TrustStoreDescriptorAccessor
,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<HttpClientContext.HttpClientContextBuilder>
,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
public class HttpClientContextBuilderImpl extends java.lang.Object implements HttpClientContext.HttpClientContextBuilder
TheHttpClientContextBuilderImpl
implements theHttpClientContext.HttpClientContextBuilder
interface.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.net.BaseUrlAccessor
BaseUrlAccessor.BaseUrlBuilder<B extends BaseUrlAccessor.BaseUrlBuilder<B>>, BaseUrlAccessor.BaseUrlMutator, BaseUrlAccessor.BaseUrlProperty
-
Nested classes/interfaces inherited from interface org.refcodes.security.TrustStoreDescriptorAccessor
org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B extends org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B>>, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
-
-
Constructor Summary
Constructors Constructor Description HttpClientContextBuilderImpl(Url aBaseUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
Constructs aHttpClientContext
with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Url
getBaseUrl()
Retrieves the base URL (protocol, host, port, locator) from the base URL (protocol, host, port, locator) property.org.refcodes.security.TrustStoreDescriptor
getTrustStoreDescriptor()
void
setBaseUrl(java.net.URL aBaseUrl)
Sets the base URL (protocol, host, port, path) for the base URL (protocol, host, port, path) property.void
setBaseUrl(Url aBaseUrl)
Sets the baseUrl
(protocol, host, port, path) for the base URL (protocol, host, port, path) property.void
setTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
-
Methods inherited from interface org.refcodes.net.BaseUrlAccessor.BaseUrlMutator
setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl
-
Methods inherited from interface org.refcodes.net.HttpClientContext.HttpClientContextBuilder
withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withTrustStoreDescriptor
-
-
-
-
Constructor Detail
-
HttpClientContextBuilderImpl
public HttpClientContextBuilderImpl(Url aBaseUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
Constructs aHttpClientContext
with the given data.
-
-
Method Detail
-
getBaseUrl
public Url getBaseUrl()
Retrieves the base URL (protocol, host, port, locator) from the base URL (protocol, host, port, locator) property.- Specified by:
getBaseUrl
in interfaceBaseUrlAccessor
- Returns:
- The base URL (protocol, host, port, locator) stored by the base URL (protocol, host, port, locator) property.
-
setBaseUrl
public void setBaseUrl(Url aBaseUrl)
Sets the baseUrl
(protocol, host, port, path) for the base URL (protocol, host, port, path) property.- Specified by:
setBaseUrl
in interfaceBaseUrlAccessor.BaseUrlMutator
- Parameters:
aBaseUrl
- The base URL (protocol, host, port, path) to be stored by the local address property.
-
setBaseUrl
public void setBaseUrl(java.net.URL aBaseUrl)
Sets the base URL (protocol, host, port, path) for the base URL (protocol, host, port, path) property.- Specified by:
setBaseUrl
in interfaceBaseUrlAccessor.BaseUrlMutator
- Parameters:
aBaseUrl
- The base URL (protocol, host, port, path) to be stored by the local address property.
-
getTrustStoreDescriptor
public org.refcodes.security.TrustStoreDescriptor getTrustStoreDescriptor()
- Specified by:
getTrustStoreDescriptor
in interfaceorg.refcodes.security.TrustStoreDescriptorAccessor
-
setTrustStoreDescriptor
public void setTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
- Specified by:
setTrustStoreDescriptor
in interfaceorg.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
-
-