Top Description Methods
jakarta.xml.ws.handler.soap

public Interface SOAPHandler<T extends jakarta.xml.ws.handler.soap.SOAPMessageContext>

extends Handler<T extends SOAPMessageContext>
Type Parameters
<T>
message context
Imports
javax.xml.namespace.QName, jakarta.xml.ws.handler.Handler, java.util.Set

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
1.6, JAX-WS 2.0

Method Summary

Modifier and TypeMethod and Description
public Set<QName>

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.
getHeaders
()

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

Inherited from jakarta.xml.ws.handler.Handler:
closehandleFaulthandleMessage

Method Detail

getHeadersback to summary
public Set<QName> getHeaders()

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

Returns:Set<QName>

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