Class SOAPClientPipelineNameMappingFunction<T>
java.lang.Object
org.opensaml.soap.client.messaging.SOAPClientPipelineNameMappingFunction<T>
- Type Parameters:
T
- delegate function type
- All Implemented Interfaces:
Function<MessageContext,
T>
public class SOAPClientPipelineNameMappingFunction<T>
extends Object
implements Function<MessageContext,T>
Function implementation which resolves a delegate function based on the
SOAP client pipeline name, obtained via a lookup of
SOAPClientContext
,
by default a direct child of the parent InOutOperationContext
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<String,
Function<MessageContext, T>> Map of pipeline names to delegate predicates.private org.slf4j.Logger
Logger.private Function<MessageContext,
SOAPClientContext> Lookup strategy for the SOAP client context. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.SOAPClientPipelineNameMappingFunction
(Map<String, Function<MessageContext, T>> mappings, ContextDataLookupFunction<MessageContext, SOAPClientContext> lookupStrategy) Constructor. -
Method Summary
-
Field Details
-
log
private org.slf4j.Logger logLogger. -
soapClientContextLookup
Lookup strategy for the SOAP client context. -
delegateMap
Map of pipeline names to delegate predicates.
-
-
Constructor Details
-
SOAPClientPipelineNameMappingFunction
public SOAPClientPipelineNameMappingFunction(@Nonnull @ParameterName(name="mappings") Map<String, Function<MessageContext, T>> mappings) Constructor.- Parameters:
mappings
- the pipeline to delegate mappings
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<MessageContext,
T>
-