Class TimestampDataLoader
java.lang.Object
eu.europa.esig.dss.service.http.commons.CommonsDataLoader
eu.europa.esig.dss.service.http.commons.TimestampDataLoader
- All Implemented Interfaces:
DataLoader
,Serializable
public class TimestampDataLoader extends CommonsDataLoader
Implementation of DataLoader using HttpClient to request a timestamp server.
- 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 String
TIMESTAMP_QUERY_CONTENT_TYPE
-
Constructor Summary
Constructors Constructor Description TimestampDataLoader()
The default constructor for CommonsDataLoader. -
Method Summary
Modifier and Type Method Description void
setContentType(String contentType)
In case of TimestampDataLoader the contentType is fixed to: Content-Type "application/timestamp-query"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, setSslKeystore, setSslKeystorePassword, setSslKeystoreType, setSslProtocol, setSslTruststore, setSslTruststorePassword, setSslTruststoreType, setSupportedSSLCipherSuites, setSupportedSSLProtocols, setTimeoutConnection, setTimeoutSocket, setTrustStrategy
-
Field Details
-
Constructor Details
-
TimestampDataLoader
public TimestampDataLoader()The default constructor for CommonsDataLoader.
-
-
Method Details
-
setContentType
In case of TimestampDataLoader the contentType is fixed to: Content-Type "application/timestamp-query"- Specified by:
setContentType
in interfaceDataLoader
- Overrides:
setContentType
in classCommonsDataLoader
- Parameters:
contentType
-
-