public abstract class XFireLoggingMethodHandler
extends org.codehaus.xfire.handler.AbstractHandler
This class is used by the XFire SOAP framework when processing SOAP request, specific in and out message
processors handle the extraction of the message from the messageContext
provided by XFire.
This works by displaying the method and the value of the variables passed in or returned. This is useful in
debugging the communication between a client and server.
Constructor and Description |
---|
XFireLoggingMethodHandler() |
Modifier and Type | Method and Description |
---|---|
protected abstract org.slf4j.Logger |
getLogger()
The logger to use when output log message.
|
protected abstract Object[] |
getMessageBodyObjects()
The objects that need to be processed for logging.
|
void |
invoke(org.codehaus.xfire.MessageContext messageContext)
Processes the incoming SOAP message for logging.
|
protected void |
logParameters(Object[] parameters,
StringBuffer logMessage)
Loops the object graph recursively until all objects have been appended to the
logMessage . |
protected abstract Object[] getMessageBodyObjects()
protected abstract org.slf4j.Logger getLogger()
public void invoke(org.codehaus.xfire.MessageContext messageContext) throws Exception
messageContext
- The message.Exception
- Runtime exception while processing the incoming SOAP message.protected void logParameters(Object[] parameters, StringBuffer logMessage)
logMessage
.parameters
- The object graph provided by Xfire.logMessage
- The buffer to append the .toString()
too.Copyright © 2020 Atlassian. All rights reserved.