Class MfTLSSocketStrategy

java.lang.Object
org.mapfish.print.http.MfTLSSocketStrategy
All Implemented Interfaces:
org.apache.hc.client5.http.ssl.TlsSocketStrategy

public final class MfTLSSocketStrategy extends Object implements org.apache.hc.client5.http.ssl.TlsSocketStrategy
A ssl socket factory that obtains the keystore from the current configuration.
  • Constructor Details

    • MfTLSSocketStrategy

      public MfTLSSocketStrategy()
  • Method Details

    • upgrade

      public SSLSocket upgrade(Socket socket, String target, int port, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context) throws IOException
      Specified by:
      upgrade in interface org.apache.hc.client5.http.ssl.TlsSocketStrategy
      Throws:
      IOException