public class HandlerUtils extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
checkMustUnderstand will validate headers that where delegated by Axis Engine to MessageReceiver for mustUnderstand check.
isHighFidelity The JAX-WS engine attempts to stream data as fast as possible.
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)
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 AxisEngine
understood- 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.
public static boolean isHighFidelity(MessageContext mc)
Copyright © The Apache Software Foundation. All Rights Reserved.