org.apache.axis2.jaxws.dispatchers
Class MustUnderstandChecker

java.lang.Object
  extended by org.apache.axis2.handlers.AbstractHandler
      extended by org.apache.axis2.handlers.AbstractTemplatedHandler
          extended by org.apache.axis2.jaxws.dispatchers.MustUnderstandChecker
All Implemented Interfaces:
Handler

public class MustUnderstandChecker
extends AbstractTemplatedHandler

Plugin to remove "understood" headers for the JAXWS related headers. This class must be configured in the axis2.xml file on both the client and the server. Understood headers (per JAXWS 2.0 Section 10.2) include - Headers that correspond to SEI method parameters.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler
Handler.InvocationResponse
 
Field Summary
 
Fields inherited from class org.apache.axis2.handlers.AbstractHandler
handlerDesc
 
Constructor Summary
MustUnderstandChecker()
           
 
Method Summary
 Handler.InvocationResponse doInvoke(MessageContext msgContext)
           
 boolean shouldInvoke(MessageContext msgContext)
           
 
Methods inherited from class org.apache.axis2.handlers.AbstractTemplatedHandler
invoke
 
Methods inherited from class org.apache.axis2.handlers.AbstractHandler
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MustUnderstandChecker

public MustUnderstandChecker()
Method Detail

shouldInvoke

public boolean shouldInvoke(MessageContext msgContext)
                     throws AxisFault
Specified by:
shouldInvoke in class AbstractTemplatedHandler
Throws:
AxisFault

doInvoke

public Handler.InvocationResponse doInvoke(MessageContext msgContext)
                                    throws AxisFault
Specified by:
doInvoke in class AbstractTemplatedHandler
Throws:
AxisFault


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.