Class MustUnderstandValidationDispatcher

  • All Implemented Interfaces:
    org.apache.axis2.engine.Handler

    public class MustUnderstandValidationDispatcher
    extends org.apache.axis2.engine.AbstractDispatcher
    Do JAXWS MustUnderstand header processing per the JAXWS 2.0 specification. This checks for a specific compliance situation where a non-existant operation with mustUnderstood headers that are not understood must throw a mustUnderstandFault rather than an invalid EPR exception. Note that this handler should be inserted in the inbound dispather chains so that the Dispatcher checkPostConditions does not throw the invalid EPR fault if the operation is null.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler

        org.apache.axis2.engine.Handler.InvocationResponse
    • Field Summary

      • Fields inherited from class org.apache.axis2.engine.AbstractDispatcher

        NAME
      • Fields inherited from class org.apache.axis2.handlers.AbstractHandler

        handlerDesc
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.axis2.description.AxisOperation findOperation​(org.apache.axis2.description.AxisService service, org.apache.axis2.context.MessageContext messageContext)  
      org.apache.axis2.description.AxisService findService​(org.apache.axis2.context.MessageContext messageContext)  
      void initDispatcher()  
      org.apache.axis2.engine.Handler.InvocationResponse invoke​(org.apache.axis2.context.MessageContext msgctx)  
      • Methods inherited from class org.apache.axis2.handlers.AbstractHandler

        flowComplete, getHandlerDesc, getName, getParameter, init, toString
    • Constructor Detail

      • MustUnderstandValidationDispatcher

        public MustUnderstandValidationDispatcher()
    • Method Detail

      • findOperation

        public org.apache.axis2.description.AxisOperation findOperation​(org.apache.axis2.description.AxisService service,
                                                                        org.apache.axis2.context.MessageContext messageContext)
                                                                 throws org.apache.axis2.AxisFault
        Specified by:
        findOperation in class org.apache.axis2.engine.AbstractDispatcher
        Throws:
        org.apache.axis2.AxisFault
      • findService

        public org.apache.axis2.description.AxisService findService​(org.apache.axis2.context.MessageContext messageContext)
                                                             throws org.apache.axis2.AxisFault
        Specified by:
        findService in class org.apache.axis2.engine.AbstractDispatcher
        Throws:
        org.apache.axis2.AxisFault
      • initDispatcher

        public void initDispatcher()
        Specified by:
        initDispatcher in class org.apache.axis2.engine.AbstractDispatcher
      • invoke

        public org.apache.axis2.engine.Handler.InvocationResponse invoke​(org.apache.axis2.context.MessageContext msgctx)
                                                                  throws org.apache.axis2.AxisFault
        Specified by:
        invoke in interface org.apache.axis2.engine.Handler
        Overrides:
        invoke in class org.apache.axis2.engine.AbstractDispatcher
        Throws:
        org.apache.axis2.AxisFault