## Uses of Interface
javax.xml.ws.handler.Handler

- Packages that use Handler
  Package | Description
  --- | ---
  javax.xml.ws | This package contains the core JAX-WS APIs.
  javax.xml.ws.handler | This package defines APIs for message handlers.
  javax.xml.ws.handler.soap | This package defines APIs for SOAP message handlers.

- - ### Uses of Handler in javax.xml.ws

    Methods in javax.xml.ws that return types with arguments of type Handler
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<Handler>` | Binding.`getHandlerChain()` Gets a copy of the handler chain for a protocol binding instance.

    Method parameters in javax.xml.ws with type arguments of type Handler
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Binding.`setHandlerChain(List<Handler> chain)` Sets the handler chain for the protocol binding instance.

  - ### Uses of Handler in javax.xml.ws.handler

    Subinterfaces of Handler in javax.xml.ws.handler
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `LogicalHandler<C extends LogicalMessageContext>` The `LogicalHandler` extends Handler to provide typesafety for the message context parameter.

    Methods in javax.xml.ws.handler that return types with arguments of type Handler
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<Handler>` | HandlerResolver.`getHandlerChain(PortInfo portInfo)` Gets the handler chain for the specified port.

  - ### Uses of Handler in javax.xml.ws.handler.soap

    Subinterfaces of Handler in javax.xml.ws.handler.soap
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `SOAPHandler<T extends SOAPMessageContext>` 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.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.