Class HttpClientContextBuilderImpl

    • Constructor Detail

      • HttpClientContextBuilderImpl

        public HttpClientContextBuilderImpl​(Url aBaseUrl,
                                            org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
        Constructs a HttpClientContext with the given data.
        Parameters:
        aBaseUrl - The Url to be used as a base Url.
        aStoreDescriptor - The descriptor describing the truststore to be used.
    • 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 interface BaseUrlAccessor
        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 base Url (protocol, host, port, path) for the base URL (protocol, host, port, path) property.
        Specified by:
        setBaseUrl in interface BaseUrlAccessor.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 interface BaseUrlAccessor.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 interface org.refcodes.security.TrustStoreDescriptorAccessor
      • setTrustStoreDescriptor

        public void setTrustStoreDescriptor​(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
        Specified by:
        setTrustStoreDescriptor in interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator