|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.moremotion.servlet.MoreMotionRequest
org.moremotion.servlet.DummyRequest
public class DummyRequest
| Constructor Summary | |
|---|---|
DummyRequest()
|
|
| Method Summary | |
|---|---|
void |
buildErrorResponse(java.lang.String name)
|
void |
buildingErrorResponse()
|
void |
buildResponse(java.lang.String name)
|
java.lang.String |
getApplicationPath()
|
java.lang.Object |
getAttribute(java.lang.String name)
|
java.lang.String |
getConfigurationScope()
|
java.lang.String |
getContextPath()
|
java.lang.String |
getCookieValue(java.lang.String cookieName)
|
java.lang.String |
getLanguage()
Returns the current language code |
java.lang.String |
getMethod()
|
java.lang.String |
getParameter(java.lang.String parmName)
Returns the value of the specified request parameter. |
java.lang.String |
getParameter(java.lang.String parmName,
java.lang.String defValue)
Returns the value of the specified request parameter. |
java.util.Enumeration |
getParameterNames()
|
java.lang.String[] |
getParameterValues(java.lang.String parmName)
Returns a String array that contains the values of the specified parameter. |
java.lang.String |
getPlainParameter(java.lang.String parmName)
Returns the value of the specified parameter. |
java.lang.String |
getPlainParameter(java.lang.String parmName,
java.lang.String defValue)
Returns the value of the specified parameter. |
java.lang.String |
getRequestInfo(java.lang.String info)
|
void |
removeAttribute(java.lang.String name)
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
|
void |
setCookieValue(java.lang.String cookieName,
java.lang.String cookieValue,
int maxAge)
|
void |
setNoCache()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DummyRequest()
| Method Detail |
|---|
public java.lang.String getConfigurationScope()
getConfigurationScope in class MoreMotionRequestpublic java.lang.String getMethod()
getMethod in class MoreMotionRequestpublic java.lang.String getLanguage()
MoreMotionRequest
getLanguage in class MoreMotionRequestpublic java.lang.String getPlainParameter(java.lang.String parmName)
MoreMotionRequest
getPlainParameter in class MoreMotionRequest
public java.lang.String getPlainParameter(java.lang.String parmName,
java.lang.String defValue)
MoreMotionRequest
getPlainParameter in class MoreMotionRequestpublic java.lang.String getParameter(java.lang.String parmName)
MoreMotionRequestnull if the parameters is not found.
getParameter in class MoreMotionRequest
public java.lang.String getParameter(java.lang.String parmName,
java.lang.String defValue)
MoreMotionRequest
getParameter in class MoreMotionRequestpublic java.util.Enumeration getParameterNames()
getParameterNames in class MoreMotionRequestpublic void setNoCache()
setNoCache in class MoreMotionRequestpublic java.lang.String[] getParameterValues(java.lang.String parmName)
MoreMotionRequestMyServlet?code=1&code=4&code=11
getParameterValues in class MoreMotionRequestpublic java.lang.String getRequestInfo(java.lang.String info)
getRequestInfo in class MoreMotionRequest
public void buildResponse(java.lang.String name)
throws ResponseBuildingException
buildResponse in class MoreMotionRequestResponseBuildingException
public void buildErrorResponse(java.lang.String name)
throws ResponseBuildingException
buildErrorResponse in class MoreMotionRequestResponseBuildingExceptionpublic void buildingErrorResponse()
buildingErrorResponse in class MoreMotionRequestpublic java.lang.String getContextPath()
getContextPath in class MoreMotionRequestpublic java.lang.String getApplicationPath()
getApplicationPath in class MoreMotionRequest
public void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in class MoreMotionRequestpublic java.lang.Object getAttribute(java.lang.String name)
getAttribute in class MoreMotionRequestpublic void removeAttribute(java.lang.String name)
removeAttribute in class MoreMotionRequest
public void setCookieValue(java.lang.String cookieName,
java.lang.String cookieValue,
int maxAge)
setCookieValue in class MoreMotionRequestpublic java.lang.String getCookieValue(java.lang.String cookieName)
getCookieValue in class MoreMotionRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||