org.apache.axis2.jaxws.core.util
Class MessageContextUtils

java.lang.Object
  extended by org.apache.axis2.jaxws.core.util.MessageContextUtils

public class MessageContextUtils
extends java.lang.Object

A utility class for handling some of the common issues related to the JAX-WS MessageContext.


Constructor Summary
MessageContextUtils()
           
 
Method Summary
static MessageContext createFaultMessageContext(MessageContext mc)
          Given a request MessageContext, create a new MessageContext for a fault response.
static MessageContext createMinimalResponseMessageContext(MessageContext mc)
           
static MessageContext createResponseMessageContext(MessageContext mc)
          Given a request MessageContext, create a new MessageContext from there with the necessary information to make sure the new MessageContext is related to the existing one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageContextUtils

public MessageContextUtils()
Method Detail

createResponseMessageContext

public static MessageContext createResponseMessageContext(MessageContext mc)
Given a request MessageContext, create a new MessageContext from there with the necessary information to make sure the new MessageContext is related to the existing one.

Parameters:
mc - - the MessageContext to use as the source
Returns:

createMinimalResponseMessageContext

public static MessageContext createMinimalResponseMessageContext(MessageContext mc)

createFaultMessageContext

public static MessageContext createFaultMessageContext(MessageContext mc)
Given a request MessageContext, create a new MessageContext for a fault response.

Parameters:
mc -
Returns:


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