Class SoapHandler

  • All Implemented Interfaces:
    javax.xml.ws.handler.Handler<javax.xml.ws.handler.soap.SOAPMessageContext>, javax.xml.ws.handler.soap.SOAPHandler<javax.xml.ws.handler.soap.SOAPMessageContext>

    public class SoapHandler
    extends java.lang.Object
    implements javax.xml.ws.handler.soap.SOAPHandler<javax.xml.ws.handler.soap.SOAPMessageContext>
    This handler checks for open sessions to returned to the pool.
    • Constructor Summary

      Constructors 
      Constructor Description
      SoapHandler()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close​(javax.xml.ws.handler.MessageContext context)  
      java.util.Set<javax.xml.namespace.QName> getHeaders()  
      boolean handleFault​(javax.xml.ws.handler.soap.SOAPMessageContext context)  
      boolean handleMessage​(javax.xml.ws.handler.soap.SOAPMessageContext context)  
      static void setLogIncomings​(boolean logincomingcalls)
      Sets whether to log incoming calls or not.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SoapHandler

        public SoapHandler()
    • Method Detail

      • setLogIncomings

        public static void setLogIncomings​(boolean logincomingcalls)
        Sets whether to log incoming calls or not.
        Parameters:
        logincomingcalls - true if incoming calls should be logged, false otherwise.
      • handleMessage

        public boolean handleMessage​(javax.xml.ws.handler.soap.SOAPMessageContext context)
        Specified by:
        handleMessage in interface javax.xml.ws.handler.Handler<javax.xml.ws.handler.soap.SOAPMessageContext>
      • handleFault

        public boolean handleFault​(javax.xml.ws.handler.soap.SOAPMessageContext context)
        Specified by:
        handleFault in interface javax.xml.ws.handler.Handler<javax.xml.ws.handler.soap.SOAPMessageContext>
      • close

        public void close​(javax.xml.ws.handler.MessageContext context)
        Specified by:
        close in interface javax.xml.ws.handler.Handler<javax.xml.ws.handler.soap.SOAPMessageContext>
      • getHeaders

        public java.util.Set<javax.xml.namespace.QName> getHeaders()
        Specified by:
        getHeaders in interface javax.xml.ws.handler.soap.SOAPHandler<javax.xml.ws.handler.soap.SOAPMessageContext>