public class HandlerUtils extends Object
Constructor and Description |
---|
HandlerUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
checkMustUnderstand(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(MessageContext mc)
isHighFidelity
The JAX-WS engine attempts to stream data as fast as possible.
|
static List<QName> |
registerSOAPHandlerHeaders(MessageContext msgContext,
List<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(MessageContext msgContext, List<Handler> handlers)
msgContext
- handlers
- public static void checkMustUnderstand(MessageContext msgContext, List<QName> understood, List<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
,
MustUnderstandChecker
public static boolean isHighFidelity(MessageContext mc)
mc
- Constants.JAXWS_HIGH_FIDELITY
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.