Class MfSSLSocketFactory

java.lang.Object
org.mapfish.print.http.MfSSLSocketFactory
All Implemented Interfaces:
org.apache.http.conn.socket.ConnectionSocketFactory, org.apache.http.conn.socket.LayeredConnectionSocketFactory

public final class MfSSLSocketFactory extends Object implements org.apache.http.conn.socket.LayeredConnectionSocketFactory
A ssl socket factory that obtains the keystore from the current configuration.
  • Constructor Details

    • MfSSLSocketFactory

      public MfSSLSocketFactory()
  • Method Details

    • createLayeredSocket

      public Socket createLayeredSocket(Socket socket, String target, int port, org.apache.http.protocol.HttpContext context) throws IOException
      Specified by:
      createLayeredSocket in interface org.apache.http.conn.socket.LayeredConnectionSocketFactory
      Throws:
      IOException
    • createSocket

      public Socket createSocket(org.apache.http.protocol.HttpContext context) throws IOException
      Specified by:
      createSocket in interface org.apache.http.conn.socket.ConnectionSocketFactory
      Throws:
      IOException
    • connectSocket

      public Socket connectSocket(int connectTimeout, Socket sock, org.apache.http.HttpHost host, InetSocketAddress remoteAddress, InetSocketAddress localAddress, org.apache.http.protocol.HttpContext context) throws IOException
      Specified by:
      connectSocket in interface org.apache.http.conn.socket.ConnectionSocketFactory
      Throws:
      IOException