|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Handler<C extends MessageContext>
The Handler
interface
is the base interface for JAX-WS handlers.
Method Summary | |
---|---|
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. |
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. |
Method Detail |
---|
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 context
true
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 context
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.