public class HandlerUtils
extends java.lang.Object
| Constructor and Description |
|---|
HandlerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkMustUnderstand(MessageContext msgContext,
java.util.List<javax.xml.namespace.QName> understood,
java.util.List<java.lang.String> additionalRoles)
checkMustUnderstand will validate headers that where delegated by Axis Engine
to MessageReceiver for mustUnderstand check.
|
static boolean |
isHighFidelity(MessageContext mc)
isHighFidelity
The JAX-WS engine attempts to stream data as fast as possible.
|
static java.util.List<javax.xml.namespace.QName> |
registerSOAPHandlerHeaders(MessageContext msgContext,
java.util.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 java.util.List<javax.xml.namespace.QName> registerSOAPHandlerHeaders(MessageContext msgContext, java.util.List<javax.xml.ws.handler.Handler> handlers)
msgContext - handlers - public static void checkMustUnderstand(MessageContext msgContext, java.util.List<javax.xml.namespace.QName> understood, java.util.List<java.lang.String> additionalRoles) throws 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.AxisFault - if any headers marked mustUndersand are not understood.MustUnderstandValidationDispatcher,
MustUnderstandCheckerpublic static boolean isHighFidelity(MessageContext mc)
mc - Constants.JAXWS_HIGH_FIDELITYCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.