atg.servlet.pipeline
Class URLArgumentPipelineServlet
java.lang.Object
atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.nucleus.TimedOperationService
atg.servlet.pipeline.PipelineableServletImpl
atg.servlet.pipeline.URLArgumentPipelineServlet
- All Implemented Interfaces:
- atg.naming.AbsoluteNameable, NameContextBindingListener, NameContextElement, atg.naming.NameContextParentable, NameResolver, AdminableService, atg.nucleus.Configured, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, PipelineableServlet, java.util.EventListener, javax.servlet.Servlet
public class URLArgumentPipelineServlet
- extends PipelineableServletImpl
A URL may carry arguments in the pathInfo part of the URI, which
are separate from the query arguments. These arguments are
appended to the pathInfo before the query arguments, and are of the
form:
/mypage;${arg1}${val1};${arg2}${val2}...
Each argument starts with a semicolon, and the argument name is
surrounded by dollar signs.
As of Dynamo 5.0 the following form of URL arguments is also supported:
/mypage;arg1=val1;arg2=val2...
Compatability Note: the '=' separator takes precedence over
the $ separator.
This pipeline servlet will extract the URL arguments from the
pathInfo and place them into a java.util.Dictionary mapping
argument name to value (using an attribute factory so the
Dictionary is not created unless it is needed). The pathInfo will
be rewritten without the URL arguments, and requestURI will also be
modified so that requestURI=servletPath+pathInfo+'?'+queryString.
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
DEFAULT_LOG_TRACE_STATUS |
Methods inherited from class atg.servlet.pipeline.PipelineableServletImpl |
createAdminServlet, destroy, getAdminServlet, getNextServlet, getServletConfig, getServletInfo, init, isUsePathInfo, passRequest, passRequest, service, service, setNextServlet, setServletInfo, setUsePathInfo |
Methods inherited from class atg.nucleus.GenericService |
addLogListener, doStartService, doStopService, getAbsoluteName, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
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 |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
URLArgumentPipelineServlet
public URLArgumentPipelineServlet()
- Constructs a new URLArgumentPipelineServlet
getURLArgs
public ArrayDictionary getURLArgs(DynamoHttpServletRequest pRequest,
java.lang.String pURLArgs)
- Returns the URL arguments Dictionary
service
public void service(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
throws java.io.IOException,
javax.servlet.ServletException
- Services a DynamoHttpServletRequest/Response pair
- Overrides:
service
in class PipelineableServletImpl
- Throws:
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 request