Class MTOMInHandler

  • All Implemented Interfaces:
    Handler

    public class MTOMInHandler
    extends AbstractHandler
    This class does a MTOM validation of the message. It checks if it should be MTOMised, or
    if the message is compliant with the MTOM policy set.
    • Constructor Detail

      • MTOMInHandler

        public MTOMInHandler()
    • Method Detail

      • invoke

        public Handler.InvocationResponse invoke​(MessageContext msgCtx)
                                          throws AxisFault
        Checks if the message should be MTOMised. If it is not but the policy states that it should be
        then an AxisFault is thrown.
        Parameters:
        msgCtx - the MessageContext
        Returns:
        An InvocationResponse that indicates what the next step in the message processing should be.
        Throws:
        AxisFault - if the message is not MTOMised, but the policy states so.