atg.servlet
Class MockDynamoHttpServletRequest

java.lang.Object
  extended by atg.servlet.MutableHttpServletRequest
      extended by atg.servlet.DynamoHttpServletRequest
          extended by atg.servlet.MockDynamoHttpServletRequest
All Implemented Interfaces:
atg.naming.NameResolver, atg.nucleus.logging.ApplicationLogging, atg.servlet.exittracking.ExitTrackingHandler, javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest

Deprecated. Instead use atg.servlet.ServletTestUtils.createDynamoRequest()

public class MockDynamoHttpServletRequest
extends atg.servlet.DynamoHttpServletRequest

Mock DynamoHttpServletRequest object

Author:
robert

Field Summary
 
Fields inherited from class atg.servlet.DynamoHttpServletRequest
ATTRIBUTE_NAME, CERTIFICATES_ATTRIBUTE, CIPHER_SUITE_ATTR, CLASS_VERSION, CURRENT_SERVLET_NAME_ATTRIBUTE, DEFAULT_DISPATCH_SERVLET, DEFAULT_PARAMETER_DELIMITER, ENCODE_CONTEXT_PATH, ENCODE_IF_NOT_THERE, ENCODE_NONE, ERROR_EXCEPTION_ATTRIBUTE, ERROR_EXCEPTION_TYPE_ATTRIBUTE, ERROR_MESSAGE_ATTRIBUTE, ERROR_REQUEST_URI_ATTRIBUTE, ERROR_SERVLET_NAME_ATTRIBUTE, ERROR_STATUS_ATTRIBUTE, FORM_EVENTS_SENT_ATTRIBUTE, GLOBAL_SCOPE, INCLUDE_CONTEXT_PATH_ATTRIBUTE, INCLUDE_PATH_INFO_ATTRIBUTE, INCLUDE_PATH_TRANSLATED_ATTRIBUTE, INCLUDE_QUERY_STRING_ATTRIBUTE, INCLUDE_REQUEST_URI_ATTRIBUTE, INCLUDE_SERVLET_PATH_ATTRIBUTE, INVALID_REMOTEADDR, KEY_SIZE_ATTR, mWebAppRequestScope, mWebAppWindowScope, OBJECT_PARAMETER_ATTRIBUTE_NAME, PAGE_EVENT_MASK, PAGE_FRAGMENT_SUBSTITUTER_ATTRIBUTE, PATH_TRANSLATOR, PROFILE_EVENT_MASK, REQUEST_CONTEXT_NAME, REQUEST_SCOPE, SESSION_EVENT_MASK, SESSION_INVALIDATED, SESSION_SCOPE, URL_PARAMETER_ARGNAME, URL_PARAMETER_SPECIFIER, WINDOW_CONTEXT_NAME, WINDOW_ID_PARAM_NAME, WINDOW_SCOPE
 
Fields inherited from interface atg.nucleus.logging.ApplicationLogging
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
MockDynamoHttpServletRequest()
          Deprecated.  
 
Method Summary
 java.lang.String encodeURL(java.lang.String str)
          Deprecated.  
 java.lang.Object getAttribute(java.lang.String attribute)
          Deprecated.  
 java.util.Enumeration getAttributeNames()
          Deprecated.  
 java.lang.String getCookieParameter(java.lang.String parameter)
          Deprecated.  
 java.lang.String getHeader(java.lang.String param)
          Deprecated.  
 java.lang.Object getLocalParameter(java.lang.String name)
          Deprecated.  
 java.lang.Object getObjectParameter(atg.nucleus.naming.ParameterName name)
          Deprecated.  
 java.lang.Object getObjectParameter(java.lang.String name)
          Deprecated.  
 java.lang.String getParameter(java.lang.String name)
          Deprecated.  
 java.util.List<java.lang.String> getServiceParameters()
          Deprecated.  
 void removeAttribute(java.lang.String name)
          Deprecated.  
 boolean serviceLocalParameter(java.lang.String name, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
          Deprecated.  
 boolean serviceParameter(java.lang.String name, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
          Deprecated.  
 void setAttribute(java.lang.String name, java.lang.Object value)
          Deprecated.  
 void setCookieParameter(java.lang.String name, java.lang.String value)
          Deprecated.  
 void setHeaders(java.lang.String name, java.lang.String value)
          Deprecated.  
 void setInputParameter(atg.nucleus.naming.ParameterName name, java.lang.Object value)
          Deprecated.  
 void setInputParameter(java.lang.String name, java.lang.Object value)
          Deprecated.  
 void setNamedParameter(java.lang.String name, java.lang.Object value)
          Deprecated.  
 void setParameter(java.lang.String key, java.lang.Object value)
          Deprecated.  
 
Methods inherited from class atg.servlet.DynamoHttpServletRequest
addPersistentQueryParameter, addQueryParameter, addURLParameter, encodeURL, encodeURL, encodeURL, encodeURL, encodeURL, endRequest, getBaseDirectory, getBrowserTyper, getCookieParameter, getCookieParameterCount, getCookieParameterNames, getCookieParameterValues, getCookies, getDisableExitTracking, getDocRootServicePrefix, getEncodeContextPathMode, getEncodeServletPath, getEncodeURL, getEventFlags, getExitTrackingHandler, getExitTrackingParameterName, getFormEventsSent, getGenerateRequestLocales, getLinkEncoding, getLocalParameter, getLog, getMapForCurrentFrame, getMimeType, getMimeTyper, getNucleus, getNullParameterObject, getObjectURLParameter, getParameter, getParameterDelimiter, getParameterNames, getParameterNamesInStack, getParameterValues, getParamMapForTopFrame, getPostParameter, getPostParameter, getPostParameterCount, getPostParameterNames, getPostParameterValues, getQueryParameter, getQueryParameter, getQueryParameterCount, getQueryParameterNames, getQueryParameterValues, getRealPath, getRequestDispatcher, getRequestDispatcher, getRequestedSessionId, getRequestForComparison, getRequestLocale, getRequestLocalePath, getRequestScope, getRequestScopeManager, getRequestURI, getRequestURIWithQueryString, getResponse, getRestorableSessionIdFromURL, getScrambleKey, getSession, getSession, getSessionConfirmationNumber, getSessionNameContext, getSessionRequest, getSessionRequest, getURLParameter, getURLParameter, getURLParameterCount, getURLParameterNames, getURLParameterString, getURLParameterValues, getURLSessionIdSpecifier, getUserAuthenticator, getUserPrincipal, getWebApplication, getWebPools, getWindowScope, getWindowScopeManager, getWorkingDirectory, getWrapper, hasRequestScope, isAfterGetsClaimed, isBrowserType, isDelayedRequest, isDynamoPipeline, isInitialized, isInTemplatePage, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingWarning, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdValid, isUserInRole, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logWarning, logWarning, logWarning, performExitTracking, popDefaultParameters, popFrame, popParameters, printRequest, pushDefaultParameters, pushFrame, pushParameters, removeParameter, removePersistentQueryParameter, removeSessionFromRequest, resolveGlobalName, resolveGlobalName, resolveName, resolveName, resolveName, resolveName, resolveRequestName, resolveRequestName, resolveSessionName, resolveSessionName, serviceLocalParameter, serviceParameter, serviceParameter, serviceParameter, setAfterGetsClaimed, setBaseDirectory, setBrowserTyper, setDisableExitTracking, setDocRootServicePrefix, setDynamoPipeline, setEncodeContextPathMode, setEncodeServletPath, setEncodeURL, setEventFlags, setExitTrackingHandler, setFormEventsSent, setGenerateRequestLocales, setInitialized, setInTemplatePage, setLinkEncoding, setLog, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingWarning, setMimeType, setMimeTyper, setNucleus, setParameter, setParameterDelimiter, setParameterHandler, setRequest, setRequestLocale, setRequestLocalePath, setRequestScope, setRequestScopeManager, setRequestURIHasQueryString, setResponse, setRestorableSessionIdFromURL, setScrambleKey, setSessionRequest, setupLoopbackTemplateEmailRequest, setURLSessionIdSpecifier, setUserAuthenticator, setWebApplication, setWebPools, setWindowScopeManager, setWrapper, shouldExitTrack, swapRequest, tamperedURLParameters, toString
 
Methods inherited from class atg.servlet.MutableHttpServletRequest
getAttribute, getAuthType, getCharacterEncoding, getContentLength, getContentType, getContextPath, getDateHeader, getHeaderNames, getHeaders, getInputStream, getIntHeader, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getMethod, getParameterMap, getPathInfo, getPathTranslated, getPermanentAttribute, getProtocol, getQueryString, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRemoteUser, getRequest, getRequestURL, getScheme, getServerName, getServerPort, getServletPath, isRequestedSessionIdFromURL, isSecure, setAttributeFactory, setAuthType, setCharacterEncoding, setContentLength, setContentType, setContextPath, setInputStream, setMethod, setPathInfo, setPathTranslated, setProtocol, setQueryString, setRemoteAddr, setRemoteHost, setRemoteUser, setRequestURI, setScheme, setServerName, setServerPort, setServletPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockDynamoHttpServletRequest

public MockDynamoHttpServletRequest()
Deprecated. 
Method Detail

encodeURL

public java.lang.String encodeURL(java.lang.String str)
Deprecated. 
Overrides:
encodeURL in class atg.servlet.DynamoHttpServletRequest

getAttribute

public java.lang.Object getAttribute(java.lang.String attribute)
Deprecated. 
Specified by:
getAttribute in interface javax.servlet.ServletRequest
Overrides:
getAttribute in class atg.servlet.MutableHttpServletRequest

getAttributeNames

public java.util.Enumeration getAttributeNames()
Deprecated. 
Specified by:
getAttributeNames in interface javax.servlet.ServletRequest
Overrides:
getAttributeNames in class atg.servlet.MutableHttpServletRequest

getCookieParameter

public java.lang.String getCookieParameter(java.lang.String parameter)
Deprecated. 
Overrides:
getCookieParameter in class atg.servlet.DynamoHttpServletRequest

getHeader

public java.lang.String getHeader(java.lang.String param)
Deprecated. 
Specified by:
getHeader in interface javax.servlet.http.HttpServletRequest
Overrides:
getHeader in class atg.servlet.MutableHttpServletRequest

getLocalParameter

public java.lang.Object getLocalParameter(java.lang.String name)
Deprecated. 
Overrides:
getLocalParameter in class atg.servlet.DynamoHttpServletRequest

getObjectParameter

public java.lang.Object getObjectParameter(atg.nucleus.naming.ParameterName name)
Deprecated. 
Overrides:
getObjectParameter in class atg.servlet.DynamoHttpServletRequest

getObjectParameter

public java.lang.Object getObjectParameter(java.lang.String name)
Deprecated. 
Overrides:
getObjectParameter in class atg.servlet.DynamoHttpServletRequest

getParameter

public java.lang.String getParameter(java.lang.String name)
Deprecated. 
Specified by:
getParameter in interface javax.servlet.ServletRequest
Overrides:
getParameter in class atg.servlet.DynamoHttpServletRequest

getServiceParameters

public java.util.List<java.lang.String> getServiceParameters()
Deprecated. 

removeAttribute

public void removeAttribute(java.lang.String name)
Deprecated. 
Specified by:
removeAttribute in interface javax.servlet.ServletRequest
Overrides:
removeAttribute in class atg.servlet.MutableHttpServletRequest

serviceLocalParameter

public boolean serviceLocalParameter(java.lang.String name,
                                     javax.servlet.ServletRequest request,
                                     javax.servlet.ServletResponse response)
                              throws javax.servlet.ServletException,
                                     java.io.IOException
Deprecated. 
Overrides:
serviceLocalParameter in class atg.servlet.DynamoHttpServletRequest
Throws:
javax.servlet.ServletException
java.io.IOException

serviceParameter

public boolean serviceParameter(java.lang.String name,
                                javax.servlet.ServletRequest request,
                                javax.servlet.ServletResponse response)
                         throws javax.servlet.ServletException,
                                java.io.IOException
Deprecated. 
Overrides:
serviceParameter in class atg.servlet.DynamoHttpServletRequest
Throws:
javax.servlet.ServletException
java.io.IOException

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)
Deprecated. 
Specified by:
setAttribute in interface javax.servlet.ServletRequest
Overrides:
setAttribute in class atg.servlet.MutableHttpServletRequest

setCookieParameter

public void setCookieParameter(java.lang.String name,
                               java.lang.String value)
Deprecated. 

setHeaders

public void setHeaders(java.lang.String name,
                       java.lang.String value)
Deprecated. 

setInputParameter

public void setInputParameter(atg.nucleus.naming.ParameterName name,
                              java.lang.Object value)
Deprecated. 

setInputParameter

public void setInputParameter(java.lang.String name,
                              java.lang.Object value)
Deprecated. 

setNamedParameter

public void setNamedParameter(java.lang.String name,
                              java.lang.Object value)
Deprecated. 

setParameter

public void setParameter(java.lang.String key,
                         java.lang.Object value)
Deprecated. 
Overrides:
setParameter in class atg.servlet.DynamoHttpServletRequest


Copyright © 2009. All Rights Reserved.