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
TheHttpClientContextBuilderImplimplements theHttpClientContext.HttpClientContextBuilderinterface.
-
-
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 aHttpClientContextwith the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UrlgetBaseUrl()Retrieves the base URL (protocol, host, port, locator) from the base URL (protocol, host, port, locator) property.org.refcodes.security.TrustStoreDescriptorgetTrustStoreDescriptor()voidsetBaseUrl(java.net.URL aBaseUrl)Sets the base URL (protocol, host, port, path) for the base URL (protocol, host, port, path) property.voidsetBaseUrl(Url aBaseUrl)Sets the baseUrl(protocol, host, port, path) for the base URL (protocol, host, port, path) property.voidsetTrustStoreDescriptor(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 aHttpClientContextwith 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:
getBaseUrlin 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:
setBaseUrlin 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:
setBaseUrlin 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:
getTrustStoreDescriptorin interfaceorg.refcodes.security.TrustStoreDescriptorAccessor
-
setTrustStoreDescriptor
public void setTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
- Specified by:
setTrustStoreDescriptorin interfaceorg.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
-
-