|
|||||||||
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.servlet.pipeline.PipelineableServletImpl
public class PipelineableServletImpl
A PipelineableServletImpl is an implementation of a PipelineableServlet that also implements Servlet.
PipelineableServlet
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
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 | |
---|---|
PipelineableServletImpl()
|
Method Summary | |
---|---|
protected javax.servlet.Servlet |
createAdminServlet()
Creates and returns a new Servlet that will administer this service. |
void |
destroy()
Called when the servlet is to be destroyed |
javax.servlet.Servlet |
getAdminServlet()
Returns the Servlet that will handle requests directed at this service. |
javax.servlet.Servlet |
getNextServlet()
Returns the next Servlet in the pipeline, null if this is the end of the pipeline. |
javax.servlet.ServletConfig |
getServletConfig()
Returns the configuration for this Servlet |
java.lang.String |
getServletInfo()
Returns the information string for this servlet |
void |
init(javax.servlet.ServletConfig pConfig)
Initializes this Servlet with the specified configuration |
boolean |
isUsePathInfo()
Returns the kind of path getting |
void |
passRequest(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Passes the specified request on to the next servlet in the pipeline |
void |
passRequest(javax.servlet.ServletRequest pRequest,
javax.servlet.ServletResponse pResponse)
Passes the specified request on to the next servlet in the pipeline |
void |
service(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Services a DynamoHttpServletRequest/Response pair |
void |
service(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
Services an HttpServletRequest/Response pair |
void |
service(javax.servlet.ServletRequest pRequest,
javax.servlet.ServletResponse pResponse)
If the request is an instanceof HttpServletRequest, then the service method is passed onto the service handler for the HttpServletRequest object. |
void |
setNextServlet(javax.servlet.Servlet pNextServlet)
Sets the next Servlet in the pipeline, null if this is the end of the pipeline. |
void |
setServletInfo(java.lang.String pServletInfo)
Sets the information string for this servlet |
void |
setUsePathInfo(boolean usePathInfo)
Sets the kind of path getting |
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, 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
Constructor Detail |
---|
public PipelineableServletImpl()
Method Detail |
---|
public void setNextServlet(javax.servlet.Servlet pNextServlet)
setNextServlet
in interface PipelineableServlet
public javax.servlet.Servlet getNextServlet()
getNextServlet
in interface PipelineableServlet
public boolean isUsePathInfo()
public void setUsePathInfo(boolean usePathInfo)
public void passRequest(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
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 passRequest(javax.servlet.ServletRequest pRequest, javax.servlet.ServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
passRequest
in interface PipelineableServlet
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 init(javax.servlet.ServletConfig pConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
javax.servlet.ServletException
- if there was a problem initializing the
Servletpublic javax.servlet.ServletConfig getServletConfig()
getServletConfig
in interface javax.servlet.Servlet
public java.lang.String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
public void setServletInfo(java.lang.String pServletInfo)
public void destroy()
destroy
in interface javax.servlet.Servlet
public void service(javax.servlet.ServletRequest pRequest, javax.servlet.ServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
service
in interface javax.servlet.Servlet
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 pRequest, javax.servlet.http.HttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
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 pRequest, DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
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 javax.servlet.Servlet getAdminServlet()
getAdminServlet
in interface AdminableService
getAdminServlet
in class GenericService
createAdminServlet()
protected javax.servlet.Servlet createAdminServlet()
createAdminServlet
in class GenericService
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |