Package org.jboss.ws.api.handler
Class GenericHandler<C extends MessageContext>
java.lang.Object
org.jboss.ws.api.handler.GenericHandler<C>
- All Implemented Interfaces:
Handler<C>
- Direct Known Subclasses:
GenericLogicalHandler,GenericSOAPHandler
A generic JAX-WS handler
- Since:
- 13-Aug-2006
- Author:
- Thomas Diesler, Alessio Soldano
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose(MessageContext messageContext) Called at the conclusion of a message exchange pattern just prior to the Jakarta XML Web Services runtime dispatching a message, fault or exception.booleanhandleFault(C messagecontext) ThehandleFaultmethod is invoked for fault message processing.protected booleanhandleInbound(C msgContext) booleanhandleMessage(C msgContext) ThehandleMessagemethod is invoked for normal processing of inbound and outbound messages.protected booleanhandleOutbound(C msgContext) voidsetHandlerName(String handlerName) toString()
-
Constructor Details
-
GenericHandler
public GenericHandler()
-
-
Method Details
-
getHandlerName
-
setHandlerName
-
handleMessage
Description copied from interface:HandlerThehandleMessagemethod 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:
handleMessagein interfaceHandler<C extends MessageContext>- Parameters:
msgContext- the message context.- Returns:
- An indication of whether handler processing should continue for
the current message
- Return
trueto continue processing. - Return
falseto block processing.
- Return
-
handleOutbound
-
handleInbound
-
handleFault
Description copied from interface:HandlerThehandleFaultmethod 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:
handleFaultin interfaceHandler<C extends MessageContext>- Parameters:
messagecontext- the message context- Returns:
- An indication of whether handler fault processing should continue
for the current message
- Return
trueto continue processing. - Return
falseto block processing.
- Return
-
close
Description copied from interface:HandlerCalled 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:
closein interfaceHandler<C extends MessageContext>- Parameters:
messageContext- the message context
-
toString
-