public abstract class AbstractQueryStringHandler extends Object implements QSHandler
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
exceptionLog
log for exceptions
|
protected org.apache.commons.logging.Log |
log
the other log
|
| Constructor and Description |
|---|
AbstractQueryStringHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureFromContext(MessageContext msgContext)
configure our elements from the context.
|
protected void |
configureResponseFromAxisFault(HttpServletResponse response,
AxisFault fault)
Configure the servlet response status code and maybe other headers
from the fault info.
|
protected Message |
convertExceptionToAxisFault(Exception exception,
Message responseMsg)
turn any Exception into an AxisFault, log it, set the response
status code according to what the specifications say and
return a response message for posting.
|
protected boolean |
isDevelopment()
probe for the system being 'production'
|
protected void |
processAxisFault(AxisFault fault)
routine called whenever an axis fault is caught; where they
are logged and any other business.
|
protected void |
writeFault(PrintWriter writer,
AxisFault axisFault)
this method writes a fault out to an HTML stream.
|
protected org.apache.commons.logging.Log exceptionLog
protected org.apache.commons.logging.Log log
protected boolean isDevelopment()
protected void configureFromContext(MessageContext msgContext)
msgContext - protected void processAxisFault(AxisFault fault)
fault - what went wrong.protected void configureResponseFromAxisFault(HttpServletResponse response, AxisFault fault)
response - response to configurefault - what went wrongprotected Message convertExceptionToAxisFault(Exception exception, Message responseMsg)
exception - what went wrongresponseMsg - what response we have (if any)protected void writeFault(PrintWriter writer, AxisFault axisFault)
writer - axisFault - Copyright © The Apache Software Foundation. All Rights Reserved.