public class HandlerUtils extends Object
| Constructor and Description |
|---|
HandlerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkMustUnderstand(org.apache.axis2.context.MessageContext msgContext,
List<QName> understood,
List<String> additionalRoles)
checkMustUnderstand will validate headers that where delegated by Axis Engine
to MessageReceiver for mustUnderstand check.
|
static boolean |
isHighFidelity(org.apache.axis2.context.MessageContext mc)
isHighFidelity
The JAX-WS engine attempts to stream data as fast as possible.
|
static List<QName> |
registerSOAPHandlerHeaders(org.apache.axis2.context.MessageContext msgContext,
List<javax.xml.ws.handler.Handler> handlers)
registerHandlerHeaders will invoke getHeaders on SOAPHandlers and return a List of headers
that are Understood by the handlers.
|
public static List<QName> registerSOAPHandlerHeaders(org.apache.axis2.context.MessageContext msgContext, List<javax.xml.ws.handler.Handler> handlers)
msgContext - handlers - public static void checkMustUnderstand(org.apache.axis2.context.MessageContext msgContext,
List<QName> understood,
List<String> additionalRoles)
throws org.apache.axis2.AxisFault
msgContext - Contains the SOAPEnvelope and optionally a list of headers not
understood by the AxisEngineunderstood - A list of header QNames understood by JAX-WS, for example those understood
by associated application handlers. Can be null.additionalRoles - An instance of RolePlayer for any addtional roles played by JAX-WS
for example, roles configured for associated handlers. Can be null.org.apache.axis2.AxisFault - if any headers marked mustUndersand are not understood.MustUnderstandValidationDispatcher,
MustUnderstandCheckerpublic static boolean isHighFidelity(org.apache.axis2.context.MessageContext mc)
mc - Constants.JAXWS_HIGH_FIDELITYCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.