Class PKIConnection

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class PKIConnection
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.io.File getOutput()  
      void setCallback​(org.mozilla.jss.ssl.SSLCertificateApprovalCallback callback)  
      void setOutput​(java.io.File output)  
      void storeEntity​(java.io.OutputStream out, org.apache.http.HttpEntity entity)  
      void storeRequest​(java.io.File file, org.apache.http.HttpRequest request)  
      void storeResponse​(java.io.File file, org.apache.http.HttpResponse response)  
      javax.ws.rs.client.WebTarget target​(java.lang.String path)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
    • Constructor Detail

      • PKIConnection

        public PKIConnection​(ClientConfig config)
    • Method Detail

      • setCallback

        public void setCallback​(org.mozilla.jss.ssl.SSLCertificateApprovalCallback callback)
      • storeRequest

        public void storeRequest​(java.io.File file,
                                 org.apache.http.HttpRequest request)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • storeResponse

        public void storeResponse​(java.io.File file,
                                  org.apache.http.HttpResponse response)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • storeEntity

        public void storeEntity​(java.io.OutputStream out,
                                org.apache.http.HttpEntity entity)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • target

        public javax.ws.rs.client.WebTarget target​(java.lang.String path)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getOutput

        public java.io.File getOutput()
      • setOutput

        public void setOutput​(java.io.File output)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable