org.apache.axis2.mtompolicy
Class MTOMInHandler
java.lang.Object
org.apache.axis2.handlers.AbstractHandler
org.apache.axis2.mtompolicy.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.
MTOMInHandler
public MTOMInHandler()
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.
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.