Class ProxyConfiguration


  • public class ProxyConfiguration
    extends Object
    An instance of ProxyConfiguration defines a proxy host for webPDF wsclient webservice calls.
    • Constructor Detail

      • ProxyConfiguration

        public ProxyConfiguration​(@NotNull
                                  @NotNull String proxyName,
                                  int port)
        Prepares the proxy server with the given hostname and port for access by webPDF SOAP and REST webservice calls.
        Parameters:
        proxyName - The proxy server's hostname.
        port - The proxy server's port.
    • Method Detail

      • getHost

        @NotNull
        public @NotNull org.apache.hc.core5.http.HttpHost getHost()
        Returns a HttpHost instance, that bundles all collected host information for the proxy server, that shall be used for webPDF webservice calls.
        Returns:
        The proxy server host information.