public class PKIConnection
extends java.lang.Object
implements java.lang.AutoCloseable
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
logger |
Constructor and Description |
---|
PKIConnection(ClientConfig config) |
Modifier and Type | Method and 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) |
public PKIConnection(ClientConfig config)
public void setCallback(org.mozilla.jss.ssl.SSLCertificateApprovalCallback callback)
public void storeRequest(java.io.File file, org.apache.http.HttpRequest request) throws java.io.IOException
java.io.IOException
public void storeResponse(java.io.File file, org.apache.http.HttpResponse response) throws java.io.IOException
java.io.IOException
public void storeEntity(java.io.OutputStream out, org.apache.http.HttpEntity entity) throws java.io.IOException
java.io.IOException
public javax.ws.rs.client.WebTarget target(java.lang.String path) throws java.lang.Exception
java.lang.Exception
public java.io.File getOutput()
public void setOutput(java.io.File output)
public void close()
close
in interface java.lang.AutoCloseable