java.lang.Object
org.refcodes.web.HttpClientContextBuilderImpl
- All Implemented Interfaces:
org.refcodes.security.TrustStoreDescriptorAccessor,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<HttpClientContext.HttpClientContextBuilder>,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty,BaseUrlAccessor,BaseUrlAccessor.BaseUrlBuilder<HttpClientContext.HttpClientContextBuilder>,BaseUrlAccessor.BaseUrlMutator,BaseUrlAccessor.BaseUrlProperty,HttpClientContext.HttpClientContextBuilder
public class HttpClientContextBuilderImpl extends Object implements HttpClientContext.HttpClientContextBuilder
The
HttpClientContextBuilderImpl implements the
HttpClientContext.HttpClientContextBuilder interface.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.web.BaseUrlAccessor
BaseUrlAccessor.BaseUrlBuilder<B extends BaseUrlAccessor.BaseUrlBuilder<B>>, BaseUrlAccessor.BaseUrlMutator, BaseUrlAccessor.BaseUrlPropertyNested 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
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(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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.refcodes.web.BaseUrlAccessor.BaseUrlMutator
setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrl, setBaseUrlMethods inherited from interface org.refcodes.web.BaseUrlAccessor.BaseUrlProperty
letBaseUrl, letBaseUrl, letBaseUrl, letBaseUrl, letBaseUrl, letBaseUrl, letBaseUrl, letBaseUrl, letBaseUrl, letBaseUrl, letBaseUrlMethods inherited from interface org.refcodes.web.HttpClientContext.HttpClientContextBuilder
withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withBaseUrl, withTrustStoreDescriptorMethods inherited from interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
letTrustStoreDescriptor
-
Constructor Details
-
HttpClientContextBuilderImpl
public HttpClientContextBuilderImpl(Url aBaseUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)Constructs aHttpClientContextwith the given data.
-
-
Method Details
-
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
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
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
-