be.ehealth.technicalconnector.ws.domain
Class HandlerChain

java.lang.Object
  extended by 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
    HandlerChain()
               
     
    Method Summary
     List<SOAPHandler<?>> getHandlers(HandlerPosition position)
               
     HandlerChain register(HandlerPosition position, SOAPHandler<?> handler)
              Method to register a SOAPHandler within a certain Position
     HandlerChain registerHandler(HandlerPosition position, SOAPHandler<?> handler)
              Deprecated. please use register
     HandlerChain unregisterHandler(HandlerPosition position, SOAPHandler<?> handler)
               
     
    Methods inherited from class java.lang.Object
    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    HandlerChain

    public HandlerChain()
    Method Detail

    registerHandler

    @Deprecated
    public HandlerChain registerHandler(HandlerPosition position,
                                                   SOAPHandler<?> handler)
    Deprecated. please use register

    Method to register a SOAPHandler within a certain


    register

    public HandlerChain register(HandlerPosition position,
                                 SOAPHandler<?> handler)
    Method to register a SOAPHandler within a certain Position


    unregisterHandler

    public HandlerChain unregisterHandler(HandlerPosition position,
                                          SOAPHandler<?> handler)

    getHandlers

    public List<SOAPHandler<?>> getHandlers(HandlerPosition position)



    Connector Business ORGPHARMACY 3.11.1 API
    Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.