public interface TimeStampHttpClient
Modifier and Type | Interface and Description |
---|---|
static interface |
TimeStampHttpClient.TimeStampHttpClientResponse |
Modifier and Type | Method and Description |
---|---|
TimeStampHttpClient.TimeStampHttpClientResponse |
get(java.lang.String url) |
void |
init(SignatureConfig config) |
boolean |
isFollowRedirects() |
boolean |
isIgnoreHttpsCertificates() |
TimeStampHttpClient.TimeStampHttpClientResponse |
post(java.lang.String url,
byte[] payload) |
void |
setBasicAuthentication(java.lang.String username,
java.lang.String password) |
void |
setContentTypeIn(java.lang.String contentType)
set request content type
|
void |
setContentTypeOut(java.lang.String contentType)
set expected response content type - use
null if contentType is ignored |
void |
setFollowRedirects(boolean followRedirects) |
void |
setIgnoreHttpsCertificates(boolean ignoreHttpsCertificates) |
void init(SignatureConfig config)
void setContentTypeIn(java.lang.String contentType)
void setContentTypeOut(java.lang.String contentType)
null
if contentType is ignoredvoid setBasicAuthentication(java.lang.String username, java.lang.String password)
TimeStampHttpClient.TimeStampHttpClientResponse post(java.lang.String url, byte[] payload) throws java.io.IOException
java.io.IOException
TimeStampHttpClient.TimeStampHttpClientResponse get(java.lang.String url) throws java.io.IOException
java.io.IOException
boolean isIgnoreHttpsCertificates()
void setIgnoreHttpsCertificates(boolean ignoreHttpsCertificates)
ignoreHttpsCertificates
- set if the connection is reckless ignoring all https certificate trust issuesboolean isFollowRedirects()
void setFollowRedirects(boolean followRedirects)
followRedirects
- set if http redirects are followed onceCopyright 2022 The Apache Software Foundation or its licensors, as applicable.