public class DisplayCountryDroplet
extends atg.servlet.DynamoServlet
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static atg.nucleus.naming.ParameterName |
COUNTRY_CODE
Country code parameter name
|
static java.lang.String |
DISPLAY_COUNTRY_NAME
Display country name output parameter name.
|
static atg.nucleus.naming.ParameterName |
LANGUAGE
Language parameter name.
|
static java.lang.String |
OUTPUT
Output parameter name.
|
Constructor and Description |
---|
DisplayCountryDroplet() |
Modifier and Type | Method and Description |
---|---|
atg.servlet.RequestLocale |
getRequestLocale() |
void |
service(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Renders the "displayCountryName" output parameter with a country name
determined by the language and countryCode input parameters.
|
void |
setRequestLocale(atg.servlet.RequestLocale pRequestLocale) |
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 final java.lang.String CLASS_VERSION
public static final atg.nucleus.naming.ParameterName COUNTRY_CODE
public static final atg.nucleus.naming.ParameterName LANGUAGE
public static final java.lang.String DISPLAY_COUNTRY_NAME
public static final java.lang.String OUTPUT
public void setRequestLocale(atg.servlet.RequestLocale pRequestLocale)
pRequestLocale
- - request locale.public atg.servlet.RequestLocale getRequestLocale()
public void service(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
service
in class atg.servlet.DynamoServlet
pRequest
- DynamoHttpSevletRequestpResponse
- DynamoHttpServletResponsejavax.servlet.ServletException
- if an error occursjava.io.IOException
- if an error occurs