public abstract class GenericHandler<C extends MessageContext> extends Object implements Handler<C>
| Constructor and Description |
|---|
GenericHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(MessageContext messageContext)
Called at the conclusion of a message exchange pattern just prior to
the JAX-WS runtime disptaching a message, fault or exception.
|
String |
getHandlerName() |
boolean |
handleFault(C messagecontext)
The
handleFault method is invoked for fault message
processing. |
protected boolean |
handleInbound(C msgContext) |
boolean |
handleMessage(C msgContext)
The
handleMessage method is invoked for normal processing
of inbound and outbound messages. |
protected boolean |
handleOutbound(C msgContext) |
void |
setHandlerName(String handlerName) |
String |
toString() |
public String getHandlerName()
public void setHandlerName(String handlerName)
public boolean handleMessage(C msgContext)
HandlerhandleMessage method is invoked for normal processing
of inbound and outbound messages. Refer to the description of the handler
framework in the JAX-WS specification for full details.handleMessage in interface Handler<C extends MessageContext>msgContext - the message context.true to continue
processing.false to block
processing.protected boolean handleOutbound(C msgContext)
protected boolean handleInbound(C msgContext)
public boolean handleFault(C messagecontext)
HandlerhandleFault method is invoked for fault message
processing. Refer to the description of the handler
framework in the JAX-WS specification for full details.handleFault in interface Handler<C extends MessageContext>messagecontext - the message contexttrue to continue
processing.false to block
processing.public void close(MessageContext messageContext)
Handlerclose in interface Handler<C extends MessageContext>messageContext - the message contextCopyright © 2017 JBoss by Red Hat. All rights reserved.