Class CmisHttpSender
- java.lang.Object
-
- org.frankframework.http.HttpSessionBase
-
- org.frankframework.http.HttpSenderBase
-
- org.frankframework.extensions.cmis.CmisHttpSender
-
- All Implemented Interfaces:
CanUseSharedResource<org.apache.http.impl.client.CloseableHttpClient>,HasPhysicalDestination,IConfigurable,IConfigurationAware,INamedObject,IScopeProvider,ISender,ISenderWithParameters,IWithParameters,HasKeystore,HasTruststore,ConfigurableLifecycle,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.Lifecycle
public abstract class CmisHttpSender extends HttpSenderBase
Abstract class to prevent Frank!Developers from including/using this Sender in their configurations. It should solely be used by the @{link CmisHttpInvoker}.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.frankframework.http.HttpSenderBase
HttpSenderBase.HttpMethod
-
-
Field Summary
-
Fields inherited from class org.frankframework.http.HttpSenderBase
CORRELATION_ID_HEADER, headerParamsSet, MESSAGE_ID_HEADER, parametersToSkipWhenEmptySet, paramList, requestOrBodyParamsSet, staticUri, urlParameter
-
Fields inherited from class org.frankframework.http.HttpSessionBase
log
-
-
Constructor Summary
Constructors Constructor Description CmisHttpSender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageextractResult(HttpResponseHandler responseHandler, PipeLineSession session)org.apache.http.client.methods.HttpRequestBasegetMethod(URI uri, Message message, ParameterValueList pvl, PipeLineSession session)org.apache.chemistry.opencmis.client.bindings.spi.http.Responseinvoke(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)protected booleanvalidateResponseCode(int statusCode)-
Methods inherited from class org.frankframework.http.HttpSenderBase
addParameter, appendParameters, close, configure, getCharSet, getContentType, getDomain, getFullContentType, getHeadersParams, getHttpMethod, getLogPrefix, getObjectType, getParameterList, getParametersToSkipWhenEmpty, getPhysicalDestinationName, getResultStatusCodeSessionKey, getStyleSheetName, getUrl, getUrlParam, isXhtml, open, sendMessage, setCertificate, setCertificateAuthAlias, setCertificatePassword, setCertificateType, setCharSet, setContentType, setHeadersParams, setMethodType, setParametersToSkipWhenEmpty, setResultStatusCodeSessionKey, setSharedResourceRef, setStyleSheetName, setUrl, setUrlParam, setXhtml, start
-
Methods inherited from class org.frankframework.http.HttpSessionBase
areCookiesDisabled, buildHttpClient, configureConnectionManager, execute, getApplicationContext, getAuthAlias, getAuthDomain, getClientAuthAlias, getClientId, getClientSecret, getConfigurationClassLoader, getConnectionIdleTimeout, getConnectionTimeToLive, getHttpClient, getKeyManagerAlgorithm, getKeystore, getKeystoreAlias, getKeystoreAliasAuthAlias, getKeystoreAliasPassword, getKeystoreAuthAlias, getKeystorePassword, getKeystoreType, getMaxConnections, getMaxExecuteRetries, getName, getPassword, getProxyAuthAlias, getProxyHost, getProxyPassword, getProxyPort, getProxyRealm, getProxyUsername, getScope, getSSLConnectionSocketFactory, getStaleTimeout, getTimeout, getTokenEndpoint, getTokenExpiry, getTrustManagerAlgorithm, getTruststore, getTruststoreAuthAlias, getTruststorePassword, getTruststoreType, getURI, getUsername, isAllowSelfSignedCertificates, isAuthenticatedTokenRequest, isFollowRedirects, isIgnoreCertificateExpiredException, isIgnoreRedirects, isPrefillProxyAuthCache, isRunning, isStaleChecking, isVerifyHostname, preAuthenticate, setAllowSelfSignedCertificates, setApplicationContext, setAuthAlias, setAuthDomain, setAuthenticatedTokenRequest, setClientAlias, setClientId, setClientSecret, setConnectionIdleTimeout, setConnectionTimeToLive, setDisableCookies, setFollowRedirects, setHttpClient, setIgnoreCertificateExpiredException, setIgnoreRedirects, setKeyManagerAlgorithm, setKeystore, setKeystoreAlias, setKeystoreAliasAuthAlias, setKeystoreAliasPassword, setKeystoreAuthAlias, setKeystorePassword, setKeystoreType, setMaxConnections, setMaxExecuteRetries, setName, setPassword, setPrefillProxyAuthCache, setProtocol, setProxyAuthAlias, setProxyHost, setProxyPassword, setProxyPort, setProxyRealm, setProxyUsername, setScope, setStaleChecking, setStaleTimeout, setSupportedCipherSuites, setTimeout, setTokenEndpoint, setTokenExpiry, setTrustManagerAlgorithm, setTruststore, setTruststoreAuthAlias, setTruststorePassword, setTruststoreType, setUsername, setVerifyHostname, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
-
Methods inherited from interface org.frankframework.core.CanUseSharedResource
getSharedResource
-
Methods inherited from interface org.frankframework.core.IConfigurationAware
getApplicationContext, getName
-
Methods inherited from interface org.frankframework.core.INamedObject
getName, setName
-
Methods inherited from interface org.frankframework.core.IScopeProvider
getConfigurationClassLoader
-
Methods inherited from interface org.frankframework.core.ISender
isSynchronous, sendMessageOrThrow
-
Methods inherited from interface org.frankframework.core.ISenderWithParameters
consumesSessionVariable
-
-
-
-
Method Detail
-
getMethod
public org.apache.http.client.methods.HttpRequestBase getMethod(URI uri, Message message, ParameterValueList pvl, PipeLineSession session) throws SenderException
- Specified by:
getMethodin classHttpSenderBase- Throws:
SenderException
-
validateResponseCode
protected boolean validateResponseCode(int statusCode)
- Overrides:
validateResponseCodein classHttpSenderBase
-
extractResult
public Message extractResult(HttpResponseHandler responseHandler, PipeLineSession session) throws IOException
- Specified by:
extractResultin classHttpSenderBase- Throws:
IOException
-
invoke
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)
-
-