Interface MessageHandler

  • All Superinterfaces:
    net.shibboleth.utilities.java.support.component.Component, net.shibboleth.utilities.java.support.component.InitializableComponent
    All Known Subinterfaces:
    MessageHandlerChain
    All Known Implementing Classes:
    AbstractMessageHandler

    public interface MessageHandler
    extends net.shibboleth.utilities.java.support.component.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
      void invoke​(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 MessageHandlerException
        Invoke 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