Interface SOAPHandler<T extends SOAPMessageContext>

All Superinterfaces:
Handler<T>

public interface SOAPHandler<T extends SOAPMessageContext>
extends Handler<T>

The SOAPHandler class extends Handler to provide typesafety for the message context parameter and add a method to obtain access to the headers that may be processed by the handler.

Since:
JAX-WS 2.0

Methods

Modifier and Type Method and Description
Set<QName> getHeaders()

Gets the header blocks that can be processed by this Handler instance.

Methods inherited from interface javax.xml.ws.handler.Handler

close, handleFault, handleMessage

Methods

getHeaders

Set<QName> getHeaders()

Gets the header blocks that can be processed by this Handler instance.

Returns:
Set of QNames of header blocks processed by this handler instance. QName is the qualified name of the outermost element of the Header block.

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/xml/ws/handler/soap/SOAPHandler.html