Package org.apache.axis2.mtompolicy
Class MTOMOutHandler
- java.lang.Object
- 
- org.apache.axis2.handlers.AbstractHandler
- 
- org.apache.axis2.mtompolicy.MTOMOutHandler
 
 
- 
- All Implemented Interfaces:
- Handler
 
 public class MTOMOutHandler extends AbstractHandler This out handler does a check of the effective policy set. Based on that the corresponding MTOM property value is set.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.axis2.engine.HandlerHandler.InvocationResponse
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.axis2.handlers.AbstractHandlerhandlerDesc
 
- 
 - 
Constructor SummaryConstructors Constructor Description MTOMOutHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Handler.InvocationResponseinvoke(MessageContext msgCtx)Checks the effective policy set and based on it theenableMTOMis set to the appropriate value. E.g. if the policy states that MTOM isoptionalthen theenableMTOMis set to this value.- 
Methods inherited from class org.apache.axis2.handlers.AbstractHandlerflowComplete, getHandlerDesc, getName, getParameter, init, toString
 
- 
 
- 
- 
- 
Method Detail- 
invokepublic Handler.InvocationResponse invoke(MessageContext msgCtx) throws AxisFault Checks the effective policy set and based on it theenableMTOMis set to the appropriate value. E.g. if the policy states that MTOM isoptionalthen theenableMTOMis set to this value.- Parameters:
- msgCtx- the- MessageContext
- Returns:
- An InvocationResponse that indicates what the next step in the message processing should be.
- Throws:
- AxisFault
 
 
- 
 
-