public class LogHandler
extends java.lang.Object
implements javax.xml.ws.handler.soap.SOAPHandler
| Constructor and Description |
|---|
LogHandler() |
LogHandler(java.lang.String destination) |
LogHandler(java.lang.String source,
java.lang.String destination) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(javax.xml.ws.handler.MessageContext context)
Called at the conclusion of a message exchange pattern just prior to
the JAX-WS runtime disptaching a message, fault or exception.
|
java.util.Set<javax.xml.namespace.QName> |
getHeaders() |
boolean |
handleFault(javax.xml.ws.handler.MessageContext context)
The
handleFault method is invoked for fault message
processing. |
boolean |
handleMessage(javax.xml.ws.handler.MessageContext context)
The
handleMessage method is invoked for normal processing
of inbound and outbound messages. |
public LogHandler()
public LogHandler(java.lang.String destination)
destination - public LogHandler(java.lang.String source,
java.lang.String destination)
source - destination - public java.util.Set<javax.xml.namespace.QName> getHeaders()
getHeaders in interface javax.xml.ws.handler.soap.SOAPHandlerpublic boolean handleMessage(javax.xml.ws.handler.MessageContext 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.handleMessage in interface javax.xml.ws.handler.Handlercontext - 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.javax.xml.ws.ProtocolException - Causes the JAX-WS runtime to switch to
fault message processing.public boolean handleFault(javax.xml.ws.handler.MessageContext 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.handleFault in interface javax.xml.ws.handler.Handlercontext - the message contexttrue to continue
processing.false to block
processing.java.lang.RuntimeException - Causes the JAX-WS runtime to cease
handler fault processing and dispatch the fault.javax.xml.ws.ProtocolException - Causes the JAX-WS runtime to cease
handler fault processing and dispatch the fault.public void close(javax.xml.ws.handler.MessageContext context)
close in interface javax.xml.ws.handler.Handlercontext - the message context