public class ApacheHttpExtenderClient extends Object implements KSIExtenderClient
Constructor and Description |
---|
ApacheHttpExtenderClient(CredentialsAwareHttpSettings settings)
Constructs ApacheHttpExtenderClient with configuration values passed in.
|
ApacheHttpExtenderClient(CredentialsAwareHttpSettings settings,
ApacheHttpClientConfiguration asyncConfiguration)
Constructs ApacheHttpExtenderClient with configuration values passed in.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
ApacheHttpPostRequestFuture |
extend(InputStream request)
Extends the existing signatures.
|
PduVersion |
getPduVersion()
Gets the PDU format version of the client.
|
ServiceCredentials |
getServiceCredentials()
Gets the service credentials used by this client.
|
public ApacheHttpExtenderClient(CredentialsAwareHttpSettings settings)
settings
- settings defined by CredentialsAwareHttpSettings
.public ApacheHttpExtenderClient(CredentialsAwareHttpSettings settings, ApacheHttpClientConfiguration asyncConfiguration)
settings
- settings defined by HttpSettings
.asyncConfiguration
- configuration defined by an instance of ApacheHttpClientConfiguration
.public ApacheHttpPostRequestFuture extend(InputStream request) throws KSIClientException
KSIExtenderClient
extend
in interface KSIExtenderClient
request
- instance of InputStream
that contains request.Future
containing KSI response.KSIClientException
KSIExtenderClient
public ServiceCredentials getServiceCredentials()
public PduVersion getPduVersion()
public void close()
Copyright © 2024 Guardtime. All rights reserved.