Package be.ehealth.technicalconnector.ws.domain

# Class HandlerChain

java.lang.Object
be.ehealth.technicalconnector.ws.domain.HandlerChain

public class HandlerChain extends Object
Class used for programatically manipulating the HandlerChain of a `GenericRequest`

There are 2 handlerchains available:

- before execting the security
- after executing the security Note:When registering a `SOAPHandler` to a certain chain the FIFO (first in first out) principle is applied.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `HandlerChain()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerChain`
  `add(HandlerChain handlers)`
  `jakarta.xml.ws.handler.Handler<?>[]`
  `getHandlers()`
  `List<jakarta.xml.ws.handler.Handler<?>>`
  `getHandlers(HandlerPosition position)`
  `HandlerChain`
  `register(HandlerPosition position, jakarta.xml.ws.handler.soap.SOAPHandler<?> handler)`
  Method to register a `SOAPHandler` within a certain Position
  `HandlerChain`
  `unregisterHandler(HandlerPosition position, jakarta.xml.ws.handler.soap.SOAPHandler<?> handler)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### HandlerChain

    public HandlerChain()

- ## Method Details

  - ### register

    public HandlerChain register(HandlerPosition position, jakarta.xml.ws.handler.soap.SOAPHandler<?> handler)
    Method to register a `SOAPHandler` within a certain Position

  - ### unregisterHandler

    public HandlerChain unregisterHandler(HandlerPosition position, jakarta.xml.ws.handler.soap.SOAPHandler<?> handler)

  - ### add

    public HandlerChain add(HandlerChain handlers)

  - ### getHandlers

    public List<jakarta.xml.ws.handler.Handler<?>> getHandlers(HandlerPosition position)

  - ### getHandlers

    public jakarta.xml.ws.handler.Handler<?>[] getHandlers()