|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.nucleus.TimedOperationService atg.nucleus.servlet.ServletService atg.nucleus.servlet.HttpServletService atg.servlet.DynamoServlet
public abstract class DynamoServlet
This is an HttpServlet implementation that is also a Nucleus service. In addition, this passes calls with DynamoHttpServletRequest/Response objects to a separate service method that should be implemented.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected boolean |
mAllowCleanupRequest
Set to false to prevent request cleanup code from being called. |
protected java.util.Dictionary |
mParameters
Any parameters defined for this servlet |
Fields inherited from class atg.nucleus.servlet.ServletService |
---|
SERVLET_INFO_KEY |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
DynamoServlet()
|
Method Summary | |
---|---|
protected void |
doDelete(DynamoHttpServletRequest req,
DynamoHttpServletResponse res)
Default implementation of DELETE. |
protected void |
doGet(DynamoHttpServletRequest req,
DynamoHttpServletResponse res)
Default implementation of GET. |
protected void |
doPost(DynamoHttpServletRequest req,
DynamoHttpServletResponse res)
Default implementation of POST. |
protected void |
doPut(DynamoHttpServletRequest req,
DynamoHttpServletResponse res)
Default implementation of PUT. |
java.lang.Object |
getParameter(java.lang.String pName)
Return the specified parameters defined for this servlet |
java.util.Dictionary |
getParameters()
Return any parameters defined for this servlet |
javax.servlet.ServletContext |
getServletContext()
Returns this servlet's ServletContext |
void |
service(DynamoHttpServletRequest req,
DynamoHttpServletResponse res)
This method provides the default implementation of service, by dispatching to conventionally named methods which begin with "do". |
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
The service method |
void |
service(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res)
The service method - go directly from a Servlet to a DynamoHttpServlet for efficiency. |
void |
setParameter(java.lang.String pName,
java.lang.Object pValue)
|
Methods inherited from class atg.nucleus.servlet.ServletService |
---|
destroy, getServletConfig, getServletInfo, init, setServletInfo |
Methods inherited from class atg.nucleus.TimedOperationService |
---|
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
protected boolean mAllowCleanupRequest
protected java.util.Dictionary mParameters
Constructor Detail |
---|
public DynamoServlet()
Method Detail |
---|
public void setParameter(java.lang.String pName, java.lang.Object pValue)
setParameter
in interface ParameterServlet
public java.util.Dictionary getParameters()
getParameters
in interface ParameterServlet
public java.lang.Object getParameter(java.lang.String pName)
getParameter
in interface ParameterServlet
public javax.servlet.ServletContext getServletContext()
public void service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) throws javax.servlet.ServletException, java.io.IOException
service
in interface javax.servlet.Servlet
service
in class HttpServletService
req
- the servlet requestres
- the servlet response
javax.servlet.ServletException
- if an error occurred while processing
the servlet request
java.io.IOException
- if an error occurred while reading or writing
the servlet requestpublic void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
service
in class HttpServletService
req
- the servlet requestres
- the servlet response
javax.servlet.ServletException
- if an error occurred while processing
the servlet request
java.io.IOException
- if an error occurred while reading or writing
the servlet requestpublic void service(DynamoHttpServletRequest req, DynamoHttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
req
- the request to be processedres
- the response object for this request
javax.servlet.ServletException
- an application specific error occurred
processing this request
java.io.IOException
- an error occurred reading data from the request
or writing data to the response.protected void doGet(DynamoHttpServletRequest req, DynamoHttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
req
- the request to be processedres
- the response object for this request
javax.servlet.ServletException
- an application specific error occurred
processing this request
java.io.IOException
- an error occurred reading data from the request
or writing data to the response.protected void doPut(DynamoHttpServletRequest req, DynamoHttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
req
- the request to be processedres
- the response object for this request
javax.servlet.ServletException
- an application specific error occurred
processing this request
java.io.IOException
- an error occurred reading data from the request
or writing data to the response.protected void doDelete(DynamoHttpServletRequest req, DynamoHttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
req
- the request to be processedres
- the response object for this request
javax.servlet.ServletException
- an application specific error occurred
processing this request
java.io.IOException
- an error occurred reading data from the request
or writing data to the response.protected void doPost(DynamoHttpServletRequest req, DynamoHttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
req
- the request to be processedres
- the response object for this request
javax.servlet.ServletException
- an application specific error occurred
processing this request
java.io.IOException
- an error occurred reading data from the request
or writing data to the response.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |