org.apache.axis2.handlers.addressing
Class AddressingOutHandler

java.lang.Object
  extended by org.apache.axis2.handlers.AbstractHandler
      extended by org.apache.axis2.handlers.AbstractTemplatedHandler
          extended by org.apache.axis2.handlers.addressing.AddressingOutHandler
All Implemented Interfaces:
AddressingConstants, Handler

public class AddressingOutHandler
extends AbstractTemplatedHandler
implements AddressingConstants


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.axis2.addressing.AddressingConstants
AddressingConstants.Final, AddressingConstants.Submission
 
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
 
Fields inherited from interface org.apache.axis2.addressing.AddressingConstants
ACTION_ATTRIBUTES, ADD_MUST_UNDERSTAND_TO_ADDRESSING_HEADERS, ADDR_VALIDATE_ACTION, ADDR_VALIDATE_INVOCATION_PATTERN, ADDRESSING_IDENTITY_NS, ADDRESSING_IDENTITY_PREFIX, ADDRESSING_OPTIONAL, ADDRESSING_REQUIRED, ADDRESSING_REQUIREMENT_PARAMETER, ADDRESSING_UNSPECIFIED, ANONYMOUS, DISABLE_ADDRESSING_FOR_IN_MESSAGES, DISABLE_ADDRESSING_FOR_OUT_MESSAGES, DISABLE_OUTBOUND_ADDRESSING_VALIDATION, DISABLE_REF_PARAMETER_EXTRACT, ENDPOINT_REFERENCE, EPR_ADDRESS, EPR_REFERENCE_PARAMETERS, EPR_SERVICE_NAME, FAULT_ACTION_NOT_SUPPORTED, FAULT_ACTION_NOT_SUPPORTED_REASON, FAULT_ADDRESSING_DESTINATION_UNREACHABLE, IDENTITY, IDENTITY_KEY_INFO, IDENTITY_PARAMETER, IDENTITY_X509_CERT, IDENTITY_X509_DATA, INCLUDE_OPTIONAL_HEADERS, IS_ADDR_INFO_ALREADY_PROCESSED, MESSAGEID_ATTRIBUTES, PARAM_SERVICE_GROUP_CONTEXT_ID, QNAME_IDENTITY, QNAME_IDENTITY_KEY_INFO, QNAME_IDENTITY_X509_CERT, QNAME_IDENTITY_X509_DATA, REFERENCE_PARAMETER_PARAMETER, REPLACE_ADDRESSING_HEADERS, SOAP_ROLE_FOR_ADDRESSING_HEADERS, USING_ADDRESSING, WS_ADDRESSING_VERSION, WSA_ACTION, WSA_DEFAULT_PREFIX, WSA_FAULT_TO, WSA_FROM, WSA_MESSAGE_ID, WSA_RELATES_TO, WSA_RELATES_TO_RELATIONSHIP_TYPE, WSA_REPLY_TO, WSA_TO, WSAM_INVOCATION_PATTERN_ASYNCHRONOUS, WSAM_INVOCATION_PATTERN_BOTH, WSAM_INVOCATION_PATTERN_PARAMETER_NAME, WSAM_INVOCATION_PATTERN_SYNCHRONOUS, XML_SIG_NS, XML_SIG_PREFIX
 
Constructor Summary
AddressingOutHandler()
           
 
Method Summary
 Handler.InvocationResponse doInvoke(MessageContext msgContext)
          This should implement the actual handler invocation logic.
 boolean shouldInvoke(MessageContext msgContext)
          This method should implement the conditional check of the handler to decide whether this particular message needs to be handled by me
 
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

AddressingOutHandler

public AddressingOutHandler()
Method Detail

shouldInvoke

public boolean shouldInvoke(MessageContext msgContext)
                     throws AxisFault
Description copied from class: AbstractTemplatedHandler
This method should implement the conditional check of the handler to decide whether this particular message needs to be handled by me

Specified by:
shouldInvoke in class AbstractTemplatedHandler
Parameters:
msgContext - current MessageContext to be evaluated
Returns:
boolean true, if this handler needs to be further invoked, false if this handler has nothing to do with this specific message and want the flow to be continued
Throws:
AxisFault - in an error in evaluating the decision

doInvoke

public Handler.InvocationResponse doInvoke(MessageContext msgContext)
                                    throws AxisFault
Description copied from class: AbstractTemplatedHandler
This should implement the actual handler invocation logic.

Specified by:
doInvoke in class AbstractTemplatedHandler
Parameters:
msgContext - current message to be handled by this handler
Returns:
flow completion decision, should be one of InvocationResponse#CONTINUE, InvocationResponse#ABORT, InvocationResponse#SUSPEND
Throws:
AxisFault - in an error in invoking the handler


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