C
- message contextpublic interface Handler<C extends MessageContext>
Handler
interface
is the base interface for JAX-WS handlers.Modifier and Type | Method and Description |
---|---|
void |
close(MessageContext context)
Called at the conclusion of a message exchange pattern just prior to
the JAX-WS runtime dispatching a message, fault or exception.
|
boolean |
handleFault(C context)
The
handleFault method is invoked for fault message
processing. |
boolean |
handleMessage(C context)
The
handleMessage method is invoked for normal processing
of inbound and outbound messages. |
boolean handleMessage(C context)
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.context
- the message context.true
to continue
processing.false
to block
processing.RuntimeException
- Causes the JAX-WS runtime to cease
handler processing and generate a fault.ProtocolException
- Causes the JAX-WS runtime to switch to
fault message processing.boolean handleFault(C context)
handleFault
method is invoked for fault message
processing. Refer to the description of the handler
framework in the JAX-WS specification for full details.context
- the message contexttrue
to continue
processing.false
to block
processing.RuntimeException
- Causes the JAX-WS runtime to cease
handler fault processing and dispatch the fault.ProtocolException
- Causes the JAX-WS runtime to cease
handler fault processing and dispatch the fault.void close(MessageContext context)
context
- the message contextCopyright © 2021 JBoss by Red Hat. All rights reserved.