|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis.transport.http.AbstractQueryStringHandler
An optional base class for query string handlers; provides various helper methods and extracts things from the the message context
Field Summary | |
protected org.apache.commons.logging.Log |
exceptionLog
log for exceptions |
protected org.apache.commons.logging.Log |
log
the other log |
Constructor Summary | |
AbstractQueryStringHandler()
|
Method Summary | |
protected void |
configureFromContext(MessageContext msgContext)
configure our elements from the context. |
protected void |
configureResponseFromAxisFault(javax.servlet.http.HttpServletResponse response,
AxisFault fault)
Configure the servlet response status code and maybe other headers from the fault info. |
protected Message |
convertExceptionToAxisFault(java.lang.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(java.io.PrintWriter writer,
AxisFault axisFault)
this method writes a fault out to an HTML stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.axis.transport.http.QSHandler |
invoke |
Field Detail |
protected org.apache.commons.logging.Log exceptionLog
protected org.apache.commons.logging.Log log
Constructor Detail |
public AbstractQueryStringHandler()
Method Detail |
protected boolean isDevelopment()
protected void configureFromContext(MessageContext msgContext)
msgContext
- protected void processAxisFault(AxisFault fault)
fault
- what went wrong.protected void configureResponseFromAxisFault(javax.servlet.http.HttpServletResponse response, AxisFault fault)
response
- response to configurefault
- what went wrongprotected Message convertExceptionToAxisFault(java.lang.Exception exception, Message responseMsg)
exception
- what went wrongresponseMsg
- what response we have (if any)
protected void writeFault(java.io.PrintWriter writer, AxisFault axisFault)
writer
- axisFault
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |