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
public class OCSPDataLoader extends CommonsDataLoader
Implementation of DataLoader using HttpClient. More flexible for HTTPS without having to add the certificate to the
JVM TrustStore.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.europa.esig.dss.spi.client.http.DataLoader
DataLoader.DataAndUrl
-
Field Summary
-
Constructor Summary
Constructors Constructor Description OCSPDataLoader()
The default constructor for CommonsDataLoader. -
Method Summary
Modifier and Type Method Description void
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, closeQuietly, fileGet, ftpGet, get, get, get, getAcceptedHttpStatus, getConnectionsMaxPerRoute, getConnectionsMaxTotal, getContent, getContentType, getHostnameVerifier, getHttpClient, getHttpClientBuilder, getHttpContext, getHttpHost, getHttpRequest, getHttpResponse, getProxyConfig, getSSLKeyStore, getSSLTrustStore, getSupportedSSLCipherSuites, getSupportedSSLProtocols, getTimeoutConnection, getTimeoutSocket, getTrustStrategy, httpGet, isRedirectsEnabled, ldapGet, post, propagateAuthentication, readHttpResponse, setAcceptedHttpStatus, setConnectionsMaxPerRoute, setConnectionsMaxTotal, setHostnameVerifier, setKeyStoreAsTrustMaterial, setProxyConfig, setRedirectsEnabled, setRetryHandler, setServiceUnavailableRetryStrategy, setSslKeystore, setSslKeystorePassword, setSslKeystoreType, setSslProtocol, setSslTruststore, setSslTruststorePassword, setSslTruststoreType, setSupportedSSLCipherSuites, setSupportedSSLProtocols, setTimeoutConnection, setTimeoutSocket, setTrustStrategy
-
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
-
-