Package org.apache.axis2.mtompolicy
Class MTOMInHandler
java.lang.Object
org.apache.axis2.handlers.AbstractHandler
org.apache.axis2.mtompolicy.MTOMInHandler
- All Implemented Interfaces:
Handler
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.
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninvoke(MessageContext msgCtx) Checks if the message should be MTOMised.Methods inherited from class org.apache.axis2.handlers.AbstractHandler
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString
-
Constructor Details
-
MTOMInHandler
public MTOMInHandler()
-
-
Method Details
-
invoke
Checks if the message should be MTOMised. If it is not but the policy states that it should be then anAxisFaultis thrown.- Parameters:
msgCtx- theMessageContext- Throws:
AxisFault- if the message is not MTOMised, but the policy states so.
-