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
Fields Modifier and Type Field Description static StringOCSP_CONTENT_TYPE-
Fields inherited from class eu.europa.esig.dss.service.http.commons.CommonsDataLoader
contentType
-
-
Constructor Summary
Constructors Constructor Description OCSPDataLoader()The default constructor for CommonsDataLoader.
-
Method Summary
Modifier and Type Method Description voidsetContentType(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, fileGet, ftpGet, get, get, get, getAcceptedHttpStatus, getConnectionsMaxPerRoute, getConnectionsMaxTotal, getContent, getContentType, getHostnameVerifier, getHttpClient, getHttpClientBuilder, getHttpResponse, getProxyConfig, getSSLKeyStore, getSSLTrustStore, getSupportedSSLCipherSuites, getSupportedSSLProtocols, getTimeoutConnection, getTimeoutSocket, getTrustStrategy, httpGet, isRedirectsEnabled, ldapGet, post, propagateAuthentication, readHttpResponse, setAcceptedHttpStatus, setConnectionsMaxPerRoute, setConnectionsMaxTotal, setHostnameVerifier, setKeyStoreAsTrustMaterial, setProxyConfig, setRedirectsEnabled, setRetryHandler, setServiceUnavailableRetryStrategy, setSslKeystorePassword, setSslKeystorePath, setSslKeystoreType, setSslProtocol, setSslTruststorePassword, setSslTruststorePath, setSslTruststoreType, setSupportedSSLCipherSuites, setSupportedSSLProtocols, setTimeoutConnection, setTimeoutSocket, setTrustStrategy
-
-
-
-
Field Detail
-
OCSP_CONTENT_TYPE
public static final String OCSP_CONTENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setContentType
public void setContentType(String contentType)
In case of OCSPDataLoader the contentType is fixed to: Content-Type "application/ocsp-request"- Specified by:
setContentTypein interfaceDataLoader- Overrides:
setContentTypein classCommonsDataLoader- Parameters:
contentType-
-
-