SOAPHandler (Java Platform SE 8 ) (original) (raw)
- All Superinterfaces:
Handler
public interface SOAPHandler<T extends SOAPMessageContext>
extends Handler
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
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type Method 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](../../../../../javax/xml/ws/handler/Handler.html "interface in javax.xml.ws.handler") `[close](../../../../../javax/xml/ws/handler/Handler.html#close-javax.xml.ws.handler.MessageContext-), [handleFault](../../../../../javax/xml/ws/handler/Handler.html#handleFault-C-), [handleMessage](../../../../../javax/xml/ws/handler/Handler.html#handleMessage-C-)`
Method Detail
* #### getHeaders [Set](../../../../../java/util/Set.html "interface in java.util")<[QName](../../../../../javax/xml/namespace/QName.html "class in javax.xml.namespace")> 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.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.