|
|||||||||
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.java.lang.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.java.lang.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34