OutboundMessageType - the outbound message typeInboundMessageType - the inbound message type@ThreadSafe public class PipelineFactoryHttpSOAPClient<OutboundMessageType,InboundMessageType> extends AbstractPipelineHttpSOAPClient<OutboundMessageType,InboundMessageType>
HttpClientMessagePipeline, produced at runtime from an instance of
HttpClientMessagePipelineFactory.SOAPClient.SOAPRequestParameters| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Logger.
|
private HttpClientMessagePipelineFactory<InboundMessageType,OutboundMessageType> |
pipelineFactory
Factory for the client message pipeline.
|
private Function<InOutOperationContext<?,?>,String> |
pipelineNameStrategy
Strategy function used to resolve the pipeline name to execute.
|
| Constructor and Description |
|---|
PipelineFactoryHttpSOAPClient() |
buildHttpContext, buildHttpRequest, buildTLSCriteriaSet, checkTLSCredentialTrusted, getHttpClient, getHttpClientSecurityParameters, getTLSCriteriaSetStrategy, resolveClientContext, resolveContextSecurityParameters, send, setHttpClient, setHttpClientSecurityParameters, setTLSCriteriaSetStrategydestroy, initialize, isDestroyed, isInitializedprivate org.slf4j.Logger log
private HttpClientMessagePipelineFactory<InboundMessageType,OutboundMessageType> pipelineFactory
private Function<InOutOperationContext<?,?>,String> pipelineNameStrategy
public void setPipelineFactory(@Nonnull HttpClientMessagePipelineFactory<InboundMessageType,OutboundMessageType> factory)
factory - the message pipeline factorypublic void setPipelineNameStrategy(@Nullable Function<InOutOperationContext<?,?>,String> function)
function - the strategy function, or nullprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractPipelineHttpSOAPClient<OutboundMessageType,InboundMessageType>ComponentInitializationExceptionprotected void doDestroy()
doDestroy in class AbstractPipelineHttpSOAPClient<OutboundMessageType,InboundMessageType>@Nonnull protected HttpClientMessagePipeline<InboundMessageType,OutboundMessageType> resolvePipeline(InOutOperationContext operationContext) throws SOAPException
HttpClientMessagePipeline to be processed.
Each call to this (factory) method MUST produce a new instance of the pipeline.
The behavior of this subclass specialization is to use a factory strategy using
a configured instance of HttpClientMessagePipeline. See
resolvePipelineName(InOutOperationContext) and
newPipeline(String).
resolvePipeline in class AbstractPipelineHttpSOAPClient<OutboundMessageType,InboundMessageType>operationContext - the current operation contextSOAPException - if there is an error obtaining a new pipeline instance@Nonnull protected HttpClientMessagePipeline<InboundMessageType,OutboundMessageType> newPipeline() throws SOAPException
HttpClientMessagePipeline to be processed.
Each call to this (factory) method MUST produce a new instance of the pipeline.
The behavior of this subclass specialization is to use a factory strategy using
a configured instance of HttpClientMessagePipeline.
newPipeline in class AbstractPipelineHttpSOAPClient<OutboundMessageType,InboundMessageType>SOAPException - if there is an error obtaining a new pipeline instance@Nullable protected HttpClientMessagePipeline<InboundMessageType,OutboundMessageType> newPipeline(@Nullable String name) throws SOAPException
HttpClientMessagePipeline to be processed.
Each call to this (factory) method MUST produce a new instance of the pipeline.
The behavior of this subclass specialization is to use a factory strategy using
a configured instance of HttpClientMessagePipeline.
name - the name of pipeline to returnSOAPException - if there is an error obtaining a new pipeline instance@Nullable protected String resolvePipelineName(@Nonnull InOutOperationContext operationContext)
operationContext - the current operation contextCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.