Class PKIConnection
java.lang.Object
com.netscape.certsrv.client.PKIConnection
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidsetCallback(org.mozilla.jss.ssl.SSLCertificateApprovalCallback callback) voidvoidstoreEntity(OutputStream out, org.apache.http.HttpEntity entity) voidstoreRequest(PrintStream out, org.apache.http.HttpRequest request) voidstoreResponse(PrintStream out, org.apache.http.HttpResponse response) javax.ws.rs.client.WebTarget
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
PKIConnection
- Throws:
Exception
-
-
Method Details
-
setCallback
public void setCallback(org.mozilla.jss.ssl.SSLCertificateApprovalCallback callback) -
storeRequest
- Throws:
IOException
-
storeResponse
public void storeResponse(PrintStream out, org.apache.http.HttpResponse response) throws IOException - Throws:
IOException
-
storeEntity
- Throws:
IOException
-
target
-
getOutput
-
setOutput
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-