public abstract class GenericHandler extends Object implements Handler
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(MessageContext messagecontext)
The
handleFault method is invoked for fault message
processing. |
protected boolean |
handleInbound(MessageContext msgContext) |
boolean |
handleMessage(MessageContext msgContext)
The
handleMessage method is invoked for normal processing
of inbound and outbound messages. |
protected boolean |
handleOutbound(MessageContext msgContext) |
void |
setHandlerName(String handlerName) |
String |
toString() |
public String getHandlerName()
public void setHandlerName(String handlerName)
public boolean handleMessage(MessageContext msgContext)
Handler
handleMessage
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
msgContext
- the message context.true
to continue
processing.false
to block
processing.protected boolean handleOutbound(MessageContext msgContext)
protected boolean handleInbound(MessageContext msgContext)
public boolean handleFault(MessageContext messagecontext)
Handler
handleFault
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
messagecontext
- the message contexttrue
to continue
processing.false
to block
processing.public void close(MessageContext messageContext)
Handler
Copyright © 2018 JBoss by Red Hat. All rights reserved.