public abstract class CmisHttpSender extends HttpSenderBase
HttpSenderBase.HttpMethod
CORRELATION_ID_HEADER, headerParamsSet, MESSAGE_ID_HEADER, parametersToSkipWhenEmptySet, requestOrBodyParamsSet, staticUri, urlParameter
parameterNamesMustBeUnique, paramList
log
Constructor and Description |
---|
CmisHttpSender() |
Modifier and Type | Method and Description |
---|---|
Message |
extractResult(HttpResponseHandler responseHandler,
PipeLineSession session)
Custom implementation to extract the response and format it to a String result.
|
org.apache.http.client.methods.HttpRequestBase |
getMethod(URI uri,
Message message,
ParameterValueList pvl,
PipeLineSession session)
Custom implementation to create a
HttpRequest object. |
org.apache.chemistry.opencmis.client.bindings.spi.http.Response |
invoke(HttpSenderBase.HttpMethod method,
String url,
Map<String,String> headers,
org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer,
org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session) |
appendParameters, areCookiesDisabled, close, configure, getPhysicalDestinationName, getPort, getSSLConnectionSocketFactory, getURI, open, prefillProxyAuthCache, sendMessage, setAllowSelfSignedCertificates, setAuthAlias, setAuthDomain, setAuthenticatedTokenRequest, setCertificate, setCertificateAuthAlias, setCertificatePassword, setCertificateType, setCharSet, setClientAlias, setClientId, setClientSecret, setConnectionIdleTimeout, setConnectionTimeToLive, setContentType, setDisableCookies, setFollowRedirects, setHeadersParams, setIgnoreCertificateExpiredException, setIgnoreRedirects, setKeyManagerAlgorithm, setKeystore, setKeystoreAlias, setKeystoreAliasAuthAlias, setKeystoreAliasPassword, setKeystoreAuthAlias, setKeystorePassword, setKeystoreType, setMaxConnections, setMaxExecuteRetries, setMethodType, setParametersToSkipWhenEmpty, setPassword, setProtocol, setProxyAuthAlias, setProxyHost, setProxyPassword, setProxyPort, setProxyRealm, setProxyUsername, setProxyUserName, setResultStatusCodeSessionKey, setScope, setStaleChecking, setStaleTimeout, setStyleSheetName, setTimeout, setTokenEndpoint, setTokenExpiry, setTrustManagerAlgorithm, setTruststore, setTruststoreAuthAlias, setTruststorePassword, setTruststoreType, setUrl, setUrlParam, setUsername, setUserName, setVerifyHostname, setXhtml, validateResponseCode
addParameter, checkStringAttributeOrParameter, consumesSessionVariable, getParameterList, getParameterOverriddenAttributeValue, getParameterOverriddenAttributeValue, getParameterValueList
createBean, getLogPrefix, getName, isSynchronous, setApplicationContext, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDomain
getKeyManagerAlgorithm, getKeystore, getKeystoreAlias, getKeystoreAliasAuthAlias, getKeystoreAliasPassword, getKeystoreAuthAlias, getKeystorePassword, getKeystoreType
getApplicationContext, getName
getConfigurationClassLoader
setApplicationContext
getTrustManagerAlgorithm, getTruststore, getTruststoreAuthAlias, getTruststorePassword, getTruststoreType, isAllowSelfSignedCertificates, isIgnoreCertificateExpiredException, isVerifyHostname
isSynchronous, sendMessageOrThrow
getName, setName
public org.apache.http.client.methods.HttpRequestBase getMethod(URI uri, Message message, ParameterValueList pvl, PipeLineSession session) throws SenderException
HttpSenderBase
HttpRequest
object.getMethod
in class HttpSenderBase
uri
- endpoint to send the message tomessage
- to be sentpvl
- ParameterValueList that contains all the senders parameterssession
- PipeLineSession to retrieve or store data from, or NULL when not setHttpRequest
objectSenderException
public Message extractResult(HttpResponseHandler responseHandler, PipeLineSession session) throws SenderException, IOException
HttpSenderBase
response
will be read or will be closed
.extractResult
in class HttpSenderBase
responseHandler
- HttpResponseHandler
that contains the response informationsession
- PipeLineSession
which may be nullSenderException
IOException
public org.apache.chemistry.opencmis.client.bindings.spi.http.Response invoke(HttpSenderBase.HttpMethod method, String url, Map<String,String> headers, org.apache.chemistry.opencmis.client.bindings.spi.http.Output writer, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession session) throws SenderException, TimeoutException
SenderException
TimeoutException
Copyright © 2023 Frank!Framework. All rights reserved.