Class GenericHandler<C extends MessageContext>

    • Constructor Detail

      • GenericHandler

        public GenericHandler()
    • Method Detail

      • getHandlerName

        public String getHandlerName()
      • setHandlerName

        public void setHandlerName​(String handlerName)
      • handleMessage

        public boolean handleMessage​(C msgContext)
        Description copied from interface: Handler
        The handleMessage method is invoked for normal processing of inbound and outbound messages. Refer to the description of the handler framework in the Jakarta XML Web Services specification for full details.
        Specified by:
        handleMessage in interface Handler<C extends MessageContext>
        Parameters:
        msgContext - the message context.
        Returns:
        An indication of whether handler processing should continue for the current message
        • Return true to continue processing.
        • Return false to block processing.
      • handleOutbound

        protected boolean handleOutbound​(C msgContext)
      • handleInbound

        protected boolean handleInbound​(C msgContext)
      • handleFault

        public boolean handleFault​(C messagecontext)
        Description copied from interface: Handler
        The handleFault method is invoked for fault message processing. Refer to the description of the handler framework in the Jakarta XML Web Services specification for full details.
        Specified by:
        handleFault in interface Handler<C extends MessageContext>
        Parameters:
        messagecontext - the message context
        Returns:
        An indication of whether handler fault processing should continue for the current message
        • Return true to continue processing.
        • Return false to block processing.
      • close

        public void close​(MessageContext messageContext)
        Description copied from interface: Handler
        Called at the conclusion of a message exchange pattern just prior to the Jakarta XML Web Services runtime dispatching a message, fault or exception. Refer to the description of the handler framework in the Jakarta XML Web Services specification for full details.
        Specified by:
        close in interface Handler<C extends MessageContext>
        Parameters:
        messageContext - the message context