Package org.opensaml.messaging.handler
Interface MessageHandler
-
- All Superinterfaces:
Component,InitializableComponent
- All Known Subinterfaces:
MessageHandlerChain
- All Known Implementing Classes:
AbstractMessageHandler
public interface MessageHandler extends InitializableComponent
A message handler represents some reusable logic that may be invoked on a message context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvoke(MessageContext messageContext)Invoke the handler on the specified message context.-
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
-
-
-
Method Detail
-
invoke
void invoke(@Nonnull MessageContext messageContext) throws MessageHandlerExceptionInvoke the handler on the specified message context.- Parameters:
messageContext- the message context on which to invoke the handler- Throws:
MessageHandlerException- if the there is an error invoking the handler on the message context
-
-