Class OCSPDataLoader
java.lang.Object
eu.europa.esig.dss.service.http.commons.CommonsDataLoader
eu.europa.esig.dss.service.http.commons.OCSPDataLoader
- All Implemented Interfaces:
DataLoader
,Serializable
Implementation of DataLoader using HttpClient. More flexible for HTTPS without having to add the certificate to the
JVM TrustStore.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.europa.esig.dss.spi.client.http.DataLoader
DataLoader.DataAndUrl
-
Field Summary
Fields inherited from class eu.europa.esig.dss.service.http.commons.CommonsDataLoader
contentType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setContentType
(String contentType) In case of OCSPDataLoader the contentType is fixed to: Content-Type "application/ocsp-request"Methods inherited from class eu.europa.esig.dss.service.http.commons.CommonsDataLoader
addAuthentication, addAuthentication, addAuthentication, closeQuietly, closeQuietly, configurePreemptiveAuthentication, execute, fileGet, ftpGet, get, get, get, getAcceptedHttpStatus, getAuthenticationMap, getConnectionKeepAlive, getConnectionsMaxPerRoute, getConnectionsMaxTotal, getConnectionTimeToLive, getContent, getContentType, getCredentialsProvider, getHostnameVerifier, getHttpClient, getHttpClientBuilder, getHttpClientResponseHandler, getHttpContext, getHttpContext, getHttpHost, getHttpRequest, getHttpResponse, getProxyConfig, getSSLKeyStore, getSSLTrustStore, getSupportedSSLCipherSuites, getSupportedSSLProtocols, getTimeoutConnection, getTimeoutConnectionRequest, getTimeoutResponse, getTimeoutSocket, getTrustStrategy, httpGet, isRedirectsEnabled, isUseSystemProperties, ldapGet, post, readHttpResponse, setAcceptedHttpStatus, setAuthenticationMap, setConnectionKeepAlive, setConnectionsMaxPerRoute, setConnectionsMaxTotal, setConnectionTimeToLive, setHostnameVerifier, setHttpClientResponseHandler, setKeyStoreAsTrustMaterial, setPreemptiveAuthentication, setProxyConfig, setRedirectsEnabled, setRetryStrategy, setSslKeystore, setSslKeystorePassword, setSslKeystorePassword, setSslKeystoreType, setSslProtocol, setSslTruststore, setSslTruststorePassword, setSslTruststorePassword, setSslTruststoreType, setSupportedSSLCipherSuites, setSupportedSSLProtocols, setTimeoutConnection, setTimeoutConnectionRequest, setTimeoutResponse, setTimeoutSocket, setTrustStrategy, setUseSystemProperties
-
Constructor Details
-
OCSPDataLoader
public OCSPDataLoader()The default constructor for CommonsDataLoader.
-
-
Method Details
-
setContentType
In case of OCSPDataLoader the contentType is fixed to: Content-Type "application/ocsp-request"- Specified by:
setContentType
in interfaceDataLoader
- Overrides:
setContentType
in classCommonsDataLoader
- Parameters:
contentType
-String
-