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 StringTIMESTAMP_QUERY_CONTENT_TYPE-
Fields inherited from class eu.europa.esig.dss.service.http.commons.CommonsDataLoader
contentType
-
-
Constructor Summary
Constructors Constructor Description TimestampDataLoader()The default constructor for CommonsDataLoader.
-
Method Summary
Modifier and Type Method Description voidsetContentType(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, setSslKeystorePassword, setSslKeystorePath, setSslKeystoreType, setSslProtocol, setSslTruststorePassword, setSslTruststorePath, setSslTruststoreType, setSupportedSSLCipherSuites, setSupportedSSLProtocols, setTimeoutConnection, setTimeoutSocket, setTrustStrategy
-
-
-
-
Field Detail
-
TIMESTAMP_QUERY_CONTENT_TYPE
public static final String TIMESTAMP_QUERY_CONTENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setContentType
public void setContentType(String contentType)
In case of TimestampDataLoader the contentType is fixed to: Content-Type "application/timestamp-query"- Specified by:
setContentTypein interfaceDataLoader- Overrides:
setContentTypein classCommonsDataLoader- Parameters:
contentType-
-
-