| |
|
| javax.xml.ws.handler.Handler
Handler | public interface Handler (Code) | | The Handler interface
is the base interface for JAX-WS handlers.
since: JAX-WS 2.0 |
Method Summary | |
public void | close(MessageContext context) Called at the conclusion of a message exchange pattern just prior to
the JAX-WS runtime disptaching a message, fault or exception. | public boolean | handleFault(C context) The handleFault method is invoked for fault message
processing. | public boolean | handleMessage(C context) The handleMessage method is invoked for normal processing
of inbound and outbound messages. |
close | public void close(MessageContext context)(Code) | | Called at the conclusion of a message exchange pattern just prior to
the JAX-WS runtime disptaching a message, fault or exception. Refer to
the description of the handler
framework in the JAX-WS specification for full details.
Parameters: context - the message context |
handleFault | public boolean handleFault(C context)(Code) | | The handleFault method is invoked for fault message
processing. Refer to the description of the handler
framework in the JAX-WS specification for full details.
Parameters: context - the message context An indication of whether handler fault processing should continue for the current message- Return
true to continue processing. - Return
false to block processing.
throws: RuntimeException - Causes the JAX-WS runtime to ceasehandler fault processing and dispatch the fault. throws: ProtocolException - Causes the JAX-WS runtime to ceasehandler fault processing and dispatch the fault. |
handleMessage | public boolean handleMessage(C context)(Code) | | The 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.
Parameters: context - the message context. An indication of whether handler processing should continue forthe current message- Return
true to continue processing. - Return
false to block processing.
throws: RuntimeException - Causes the JAX-WS runtime to ceasehandler processing and generate a fault. throws: ProtocolException - Causes the JAX-WS runtime to switch tofault message processing. |
|
|
|