Package 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.
-
-
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 Constructor Description MTOMInHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Handler.InvocationResponse
invoke(MessageContext msgCtx)
Checks if the message should be MTOMised.-
Methods inherited from class org.apache.axis2.handlers.AbstractHandler
flowComplete, getHandlerDesc, getName, getParameter, init, toString
-
-
-
-
Method Detail
-
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 anAxisFault
is thrown.- Parameters:
msgCtx
- theMessageContext
- 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.
-
-