Class MustUnderstandValidationDispatcher
java.lang.Object
org.apache.axis2.handlers.AbstractHandler
org.apache.axis2.engine.AbstractDispatcher
org.apache.axis2.jaxws.dispatchers.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
NAMEFields inherited from class org.apache.axis2.handlers.AbstractHandler
handlerDesc -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.axis2.description.AxisOperationfindOperation(org.apache.axis2.description.AxisService service, org.apache.axis2.context.MessageContext messageContext) org.apache.axis2.description.AxisServicefindService(org.apache.axis2.context.MessageContext messageContext) voidorg.apache.axis2.engine.Handler.InvocationResponseinvoke(org.apache.axis2.context.MessageContext msgctx) Methods inherited from class org.apache.axis2.handlers.AbstractHandler
flowComplete, getHandlerDesc, getName, getParameter, init, toString
-
Constructor Details
-
MustUnderstandValidationDispatcher
public MustUnderstandValidationDispatcher()
-
-
Method Details
-
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:
findOperationin classorg.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:
findServicein classorg.apache.axis2.engine.AbstractDispatcher- Throws:
org.apache.axis2.AxisFault
-
initDispatcher
public void initDispatcher()- Specified by:
initDispatcherin classorg.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:
invokein interfaceorg.apache.axis2.engine.Handler- Overrides:
invokein classorg.apache.axis2.engine.AbstractDispatcher- Throws:
org.apache.axis2.AxisFault
-