Package org.apache.axis2.jaxws.core.util
Class MessageContextUtils
- java.lang.Object
-
- org.apache.axis2.jaxws.core.util.MessageContextUtils
-
public class MessageContextUtils extends Object
A utility class for handling some of the common issues related to the JAX-WS MessageContext.
-
-
Constructor Summary
Constructors Constructor Description MessageContextUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.static boolean
getJaxwsProviderInterpretNullOneway(MessageContext mc)
-
-
-
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:
-
getJaxwsProviderInterpretNullOneway
public static boolean getJaxwsProviderInterpretNullOneway(MessageContext mc)
-
-