public class PKIConnection
extends java.lang.Object
Constructor and Description |
---|
PKIConnection(PKIClient client) |
Modifier and Type | Method and Description |
---|---|
void |
addIgnoredCertStatus(java.lang.Integer ignoredCertStatus) |
void |
addRejectedCertStatus(java.lang.Integer rejectedCertStatus) |
<T> T |
createProxy(java.lang.Class<T> clazz) |
<T> T |
getEntity(org.jboss.resteasy.client.ClientResponse<T> response) |
java.io.File |
getOutput() |
boolean |
isIgnored(java.lang.Integer certStatus) |
boolean |
isRejected(java.lang.Integer certStatus) |
org.jboss.resteasy.client.ClientResponse<java.lang.String> |
post(java.lang.String content) |
void |
setIgnoredCertStatuses(java.util.Collection<java.lang.Integer> ignoredCertStatuses) |
void |
setOutput(java.io.File output) |
void |
setRejectedCertStatuses(java.util.Collection<java.lang.Integer> rejectedCertStatuses) |
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) |
public PKIConnection(PKIClient client)
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 <T> T createProxy(java.lang.Class<T> clazz) throws java.net.URISyntaxException
java.net.URISyntaxException
public <T> T getEntity(org.jboss.resteasy.client.ClientResponse<T> response)
public org.jboss.resteasy.client.ClientResponse<java.lang.String> post(java.lang.String content) throws java.lang.Exception
java.lang.Exception
public void addRejectedCertStatus(java.lang.Integer rejectedCertStatus)
public void setRejectedCertStatuses(java.util.Collection<java.lang.Integer> rejectedCertStatuses)
public boolean isRejected(java.lang.Integer certStatus)
public void addIgnoredCertStatus(java.lang.Integer ignoredCertStatus)
public void setIgnoredCertStatuses(java.util.Collection<java.lang.Integer> ignoredCertStatuses)
public boolean isIgnored(java.lang.Integer certStatus)
public java.io.File getOutput()
public void setOutput(java.io.File output)