Package org.opensaml.messaging.context
Class MessageContext
- java.lang.Object
-
- org.opensaml.messaging.context.BaseContext
-
- org.opensaml.messaging.context.MessageContext
-
- All Implemented Interfaces:
Iterable<BaseContext>
public final class MessageContext extends BaseContext
A context component which holds the state related to the processing of a single message.Additional information associated with the message represented by the context may be held by the context as subordinate subcontext instances. Subcontext instances may simply hold state information related to the message, in which case they may be seen as a type-safe variant of the ubiquitous properties map pattern. They may also be more functional or operational in nature, for example providing "views" onto the message and/or message context data.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
-
Constructor Summary
Constructors Constructor Description MessageContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetMessage()Get the message represented by the message context.voidsetMessage(Object message)Set the message represented by the message context.-
Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeSubcontext, removeSubcontext, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
msg
@Nullable private Object msg
The message represented.
-
-