public class ArrayIncludesValue extends DynamoServlet
A complete description of the parameters to the ArrayIncludesValue droplet are:
Modifier and Type | Field and Description |
---|---|
static ParameterName |
ARRAY |
static java.lang.String |
CLASS_VERSION |
static ParameterName |
FALSE |
static ParameterName |
TRUE |
static ParameterName |
VALUE |
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 |
---|
ArrayIncludesValue() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getArray(DynamoHttpServletRequest pReq)
Gets the array-like value (e.g., array, List, Enumeration)
to be used by this droplet from the request.
|
java.lang.Object |
getValue(DynamoHttpServletRequest pReq)
Gets the value to be used by this droplet from the request.
|
protected void |
searchArray(java.lang.Object[] pArray,
java.lang.Object pValue,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Performs the search operation for array objects
|
protected void |
searchCollection(java.util.Collection pArray,
java.lang.Object pValue,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Renders the search operation for Collection objects
|
protected void |
searchDictionary(java.util.Dictionary pDictionary,
java.lang.Object pValue,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Renders the search operation for Dictionary objects
|
protected void |
searchEnumeration(java.util.Enumeration pEnumeration,
java.lang.Object pValue,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Renders the search operation for Enumeration objects
|
protected void |
searchIterator(java.util.Iterator pIterator,
java.lang.Object pValue,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Renders the search operation for Iterator objects
|
protected void |
searchList(java.util.List pList,
java.lang.Object pValue,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Renders the search operation for List objects
|
protected void |
searchMap(java.util.Map pMap,
java.lang.Object pValue,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Renders the search operation for Map objects
|
protected void |
searchMapArray(java.util.Map.Entry[] pArray,
java.lang.Object pValue,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Performs the search operation for map array objects
|
protected void |
searchPrimitiveArray(java.lang.Object pArray,
java.lang.Object pValue,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Performs the search operation for primitive array objects using the
reflection methods to access values in the array.
|
void |
service(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method provides the default implementation of service,
by dispatching to conventionally named methods which begin
with "do".
|
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
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 ARRAY
public static final ParameterName VALUE
public static final ParameterName TRUE
public static final ParameterName FALSE
public java.lang.Object getArray(DynamoHttpServletRequest pReq)
public java.lang.Object getValue(DynamoHttpServletRequest pReq)
public void service(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
DynamoServlet
service
in class DynamoServlet
pRequest
- the request to be processedpResponse
- the response object for this requestjavax.servlet.ServletException
- an application specific error occurred
processing this requestjava.io.IOException
- an error occurred reading data from the request
or writing data to the response.protected void searchMapArray(java.util.Map.Entry[] pArray, java.lang.Object pValue, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pArray
- the object to searchpValue
- the value to search forpRequest
- the request to be processedpResponse
- the response object for this requestjavax.servlet.ServletException
- if an application specific error occurred processing this requestjava.io.IOException
- if an error occurred reading data from the request or writing data to the responseprotected void searchArray(java.lang.Object[] pArray, java.lang.Object pValue, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pArray
- the object to searchpValue
- the value to search forpRequest
- the request to be processedpResponse
- the response object for this requestjavax.servlet.ServletException
- if an application specific error occurred processing this requestjava.io.IOException
- if an error occurred reading data from the request or writing data to the responseprotected void searchPrimitiveArray(java.lang.Object pArray, java.lang.Object pValue, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pArray
- the object to searchpValue
- the value to search forpRequest
- the request to be processedpResponse
- the response object for this requestjavax.servlet.ServletException
- if an application specific error occurred processing this requestjava.io.IOException
- if an error occurred reading data from the request or writing data to the responseprotected void searchList(java.util.List pList, java.lang.Object pValue, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pList
- the object to searchpValue
- the value to search forpRequest
- the request to be processedpResponse
- the response object for this requestjavax.servlet.ServletException
- if an application specific error occurred processing this requestjava.io.IOException
- if an error occurred reading data from the request or writing data to the responseprotected void searchCollection(java.util.Collection pArray, java.lang.Object pValue, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pArray
- the object to searchpValue
- the value to search forpRequest
- the request to be processedpResponse
- the response object for this requestjavax.servlet.ServletException
- if an application specific error occurred processing this requestjava.io.IOException
- if an error occurred reading data from the request or writing data to the responseprotected void searchIterator(java.util.Iterator pIterator, java.lang.Object pValue, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pIterator
- the object to searchpValue
- the value to search forpRequest
- the request to be processedpResponse
- the response object for this requestjavax.servlet.ServletException
- if an application specific error occurred processing this requestjava.io.IOException
- if an error occurred reading data from the request or writing data to the responseprotected void searchEnumeration(java.util.Enumeration pEnumeration, java.lang.Object pValue, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pEnumeration
- the object to searchpValue
- the value to search forpRequest
- the request to be processedpResponse
- the response object for this requestjavax.servlet.ServletException
- if an application specific error occurred processing this requestjava.io.IOException
- if an error occurred reading data from the request or writing data to the responseprotected void searchMap(java.util.Map pMap, java.lang.Object pValue, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pMap
- the object to searchpValue
- the value to search forpRequest
- the request to be processedpResponse
- the response object for this requestjavax.servlet.ServletException
- if an application specific error occurred processing this requestjava.io.IOException
- if an error occurred reading data from the request or writing data to the responseprotected void searchDictionary(java.util.Dictionary pDictionary, java.lang.Object pValue, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pDictionary
- the object to searchpValue
- the value to search forpRequest
- the request to be processedpResponse
- the response object for this requestjavax.servlet.ServletException
- if an application specific error occurred processing this requestjava.io.IOException
- if an error occurred reading data from the request or writing data to the response