org.apache.axis2.transport.nhttp
Class Util

java.lang.Object
  extended by org.apache.axis2.transport.nhttp.Util

public class Util
extends java.lang.Object


Constructor Summary
Util()
           
 
Method Summary
static java.lang.String getContentType(MessageContext msgContext)
          Get the content type for the message passed in
static EndpointReference getDestinationEPR(MessageContext msgContext)
          Get the EPR for the message passed in
static org.apache.axiom.om.OMOutputFormat getOMOutputFormat(MessageContext msgContext)
          Retirn the OMOutputFormat to be used for the message context passed in
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

getDestinationEPR

public static EndpointReference getDestinationEPR(MessageContext msgContext)
Get the EPR for the message passed in

Parameters:
msgContext - the message context
Returns:
the destination EPR

getOMOutputFormat

public static org.apache.axiom.om.OMOutputFormat getOMOutputFormat(MessageContext msgContext)
Retirn the OMOutputFormat to be used for the message context passed in

Parameters:
msgContext - the message context
Returns:
the OMOutputFormat to be used

getContentType

public static java.lang.String getContentType(MessageContext msgContext)
Get the content type for the message passed in

Parameters:
msgContext - the message
Returns:
content type of the message


Copyright © 2007 Apache Web Services Project. All Rights Reserved.