Package be.ehealth.technicalconnector.handler

# Class UserAgentHandler

java.lang.Object
be.ehealth.technicalconnector.handler.AbstractSOAPHandler
be.ehealth.technicalconnector.handler.AbstractMimeHeaderManipulator
be.ehealth.technicalconnector.handler.UserAgentHandler

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 UserAgentHandler extends AbstractMimeHeaderManipulator
`SOAPHandler` for setting the correct User-Agent in the `MimeHeaders`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UserAgentHandler()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `handleFault(jakarta.xml.ws.handler.soap.SOAPMessageContext context)`
  `boolean`
  `handleOutbound(jakarta.xml.ws.handler.soap.SOAPMessageContext context)`
  Method that is called in the outbound flow.

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

  `close, dumpMessage, getHeaders, handleInbound, handleMessage`

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

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

- ## Constructor Details

  - ### UserAgentHandler

    public UserAgentHandler()

- ## Method Details

  - ### handleOutbound

    public boolean handleOutbound(jakarta.xml.ws.handler.soap.SOAPMessageContext context)
    Description copied from class: `AbstractSOAPHandler`
    Method that is called in the outbound flow.
    Overrides:
      `handleOutbound` in class `AbstractSOAPHandler`

  - ### handleFault

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