public class GetSiteDroplet extends DynamoServlet
Site
for a given siteId. If the siteId isn't
provided or the site with that ID could not be found, the empty output param
will be rendered. The output parameters for this Droplet are:
Site
object for the given
siteId
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static ParameterName |
EMPTY
ParameterName for empty
|
static ParameterName |
ERROR
ParameterName for error
|
static java.lang.String |
ERROR_MSG_PROP_NAME
Parameter name for errorMessage
|
static ParameterName |
OUTPUT
ParameterName for output
|
static ParameterName |
SITE_ID
ParameterName for siteId
|
static java.lang.String |
SITE_PROP_NAME
Parameter name for site
|
mAllowCleanupRequest, mParameters
SERVLET_INFO_KEY
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
GetSiteDroplet() |
Modifier and Type | Method and Description |
---|---|
SiteContextManager |
getSiteContextManager()
Gets the SiteContextManager.
|
void |
service(DynamoHttpServletRequest pReq,
DynamoHttpServletResponse pRes)
Services the output oparam if a site can be determined.
|
void |
setSiteContextManager(SiteContextManager pSiteContextManager)
Sets the SiteContextManager
|
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, init, service, service, setParameter
destroy, getServletConfig, getServletInfo, setServletInfo
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, 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, toString
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static java.lang.String CLASS_VERSION
public static final ParameterName SITE_ID
public static final ParameterName OUTPUT
public static final ParameterName EMPTY
public static final ParameterName ERROR
public static final java.lang.String ERROR_MSG_PROP_NAME
public static final java.lang.String SITE_PROP_NAME
public SiteContextManager getSiteContextManager()
public void setSiteContextManager(SiteContextManager pSiteContextManager)
pSiteContextManager
- the siteContextManager to setpublic void service(DynamoHttpServletRequest pReq, DynamoHttpServletResponse pRes) throws javax.servlet.ServletException, java.io.IOException
service
in class DynamoServlet
pReq
- The requestpRes
- The responsejavax.servlet.ServletException
java.io.IOException
DynamoServlet.service(atg.servlet.DynamoHttpServletRequest,
atg.servlet.DynamoHttpServletResponse)