Class OCSPDataLoader
java.lang.Object
eu.europa.esig.dss.service.http.commons.CommonsDataLoader
eu.europa.esig.dss.service.http.commons.OCSPDataLoader
- All Implemented Interfaces:
Serializable
Implementation of DataLoader using HttpClient. More flexible for HTTPS without having to add the certificate to the
JVM TrustStore.
- See Also:
-
Field Summary
Fields inherited from class CommonsDataLoader
contentType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetContentType(String contentType) In case of OCSPDataLoader the contentType is fixed to: Content-Type "application/ocsp-request"Methods inherited from class CommonsDataLoader
addAuthentication, addAuthentication, closeQuietly, configurePreemptiveAuthentication, executeHttpRequest, executeHttpRequest, fileGet, ftpGet, get, get, getAuthenticationMap, getConnectionKeepAlive, getConnectionManager, getConnectionsMaxPerRoute, getConnectionsMaxTotal, getConnectionTimeToLive, getContentType, getCredentialsProvider, getHostnameVerifier, getHttpClient, getHttpClientBuilder, getHttpClientResponseHandler, getHttpContext, getHttpHost, getHttpRequest, getProxyConfig, getRequestConfig, getRequestConfigBuilder, getSocketConfig, getSSLContextBuilder, getSSLKeyStore, getSSLTrustStore, getSupportedSSLCipherSuites, getSupportedSSLProtocols, getTargetPreferredAuthSchemes, getTimeoutConnection, getTimeoutConnectionRequest, getTimeoutResponse, getTimeoutSocket, getTlsSocketStrategy, getTrustStrategy, httpGet, initLdapContextEnvironment, isRedirectsEnabled, isUseSystemProperties, ldapGet, post, requestGet, requestGet, requestGet, requestPost, requestPost, requestPost, setAuthenticationMap, setConnectionKeepAlive, setConnectionsMaxPerRoute, setConnectionsMaxTotal, setConnectionTimeToLive, setHostnameVerifier, setHttpClientResponseHandler, setKeyStoreAsTrustMaterial, setLdapTrustedHostnames, setPreemptiveAuthentication, setProxyConfig, setRedirectsEnabled, setRetryStrategy, setSslKeystore, setSslKeystorePassword, setSslKeystoreType, setSslProtocol, setSslTruststore, setSslTruststorePassword, setSslTruststoreType, setSupportedSSLCipherSuites, setSupportedSSLProtocols, setTargetPreferredAuthSchemes, setTimeoutConnection, setTimeoutConnectionRequest, setTimeoutResponse, setTimeoutSocket, setTrustStrategy, setUseSystemProperties, toHeadersMap
-
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"- Overrides:
setContentTypein classCommonsDataLoader- Parameters:
contentType-String
-