Package be.ehealth.technicalconnector.handler

# Class SOAPHeaderLoggerHandler

java.lang.Object
be.ehealth.technicalconnector.handler.AbstractSOAPHandler
be.ehealth.technicalconnector.handler.SOAPHeaderLoggerHandler

All Implemented Interfaces:
  `jakarta.xml.ws.handler.Handler<jakarta.xml.ws.handler.soap.SOAPMessageContext>`, `jakarta.xml.ws.handler.soap.SOAPHandler<jakarta.xml.ws.handler.soap.SOAPMessageContext>`

public class SOAPHeaderLoggerHandler extends AbstractSOAPHandler
This handler will print the content of the SOAPHeader specified in the configuration. The format of the soap header element is {namespace-uri}local-name.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SOAPHeaderLoggerHandler()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `handleFault(jakarta.xml.ws.handler.soap.SOAPMessageContext ctx)`
  `boolean`
  `handleMessage(jakarta.xml.ws.handler.soap.SOAPMessageContext ctx)`

  ### Methods inherited from class be.ehealth.technicalconnector.handler.AbstractSOAPHandler

  `close, dumpMessage, getHeaders, handleInbound, handleOutbound`

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

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

- ## Constructor Details

  - ### SOAPHeaderLoggerHandler

    public SOAPHeaderLoggerHandler()

- ## Method Details

  - ### handleMessage

    public boolean handleMessage(jakarta.xml.ws.handler.soap.SOAPMessageContext ctx)
    Specified by:
      `handleMessage` in interface `jakarta.xml.ws.handler.Handler<jakarta.xml.ws.handler.soap.SOAPMessageContext>`
    Overrides:
      `handleMessage` in class `AbstractSOAPHandler`

  - ### handleFault

    public boolean handleFault(jakarta.xml.ws.handler.soap.SOAPMessageContext ctx)
    Specified by:
      `handleFault` in interface `jakarta.xml.ws.handler.Handler<jakarta.xml.ws.handler.soap.SOAPMessageContext>`
    Overrides:
      `handleFault` in class `AbstractSOAPHandler`