Class MessageContextLookup<StartContext extends BaseContext>
java.lang.Object
org.opensaml.messaging.context.navigate.MessageContextLookup<StartContext>
- Type Parameters:
StartContext
- the starting context type
- All Implemented Interfaces:
Function<StartContext,
,MessageContext> ContextDataLookupFunction<StartContext,
MessageContext>
public class MessageContextLookup<StartContext extends BaseContext>
extends Object
implements ContextDataLookupFunction<StartContext,MessageContext>
A lookup function for resolving either the inbound or outbound
MessageContext
relative to
a particular BaseContext
.
This would usually be used in composing other lookup functions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Used to indicate the target message context. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate MessageContextLookup.Direction
The message context to evaluate as the entityContext parent.private Function<BaseContext,
InOutOperationContext> The operation context lookup. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.MessageContextLookup
(MessageContextLookup.Direction direction, Function<BaseContext, InOutOperationContext> lookup) Constructor. -
Method Summary
-
Field Details
-
dir
The message context to evaluate as the entityContext parent. -
opContextLookup
The operation context lookup. Defaults toRecursiveTypedParentContextLookup
.
-
-
Constructor Details
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<StartContext extends BaseContext,
MessageContext>
-