|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.util.DelegatedHttpServletRequest org.melati.util.ReconstructedHttpServletRequest
public class ReconstructedHttpServletRequest
An HttpServletRequest
created from values stored in
the Session
.
Used during login to be able to return to the point where an
AccessPoemException
was thrown once the user has
successfully logged in.
Field Summary |
---|
Fields inherited from class org.melati.util.DelegatedHttpServletRequest |
---|
peer |
Fields inherited from interface javax.servlet.http.HttpServletRequest |
---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary | |
---|---|
ReconstructedHttpServletRequest(HttpServletRequestParameters oldParams,
javax.servlet.http.HttpServletRequest newRequest)
Constructor. |
Method Summary | |
---|---|
String |
getMethod()
From the old request. |
javax.servlet.http.HttpServletRequest |
getNewRequest()
|
String |
getParameter(String name)
From the old request. |
Enumeration<String> |
getParameterNames()
From the old request. |
String[] |
getParameterValues(String name)
From the old request. |
void |
setNewRequest(javax.servlet.http.HttpServletRequest newRequest)
Set the peer property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReconstructedHttpServletRequest(HttpServletRequestParameters oldParams, javax.servlet.http.HttpServletRequest newRequest) throws ReconstructedHttpServletRequestMismatchException
oldParams
- parameters from original requestnewRequest
- the new request to add parameters to
ReconstructedHttpServletRequestMismatchException
Method Detail |
---|
public void setNewRequest(javax.servlet.http.HttpServletRequest newRequest)
newRequest
- the request to set as peerpublic javax.servlet.http.HttpServletRequest getNewRequest()
public String getParameter(String name)
getParameter
in interface javax.servlet.ServletRequest
getParameter
in class DelegatedHttpServletRequest
ServletRequest.getParameter(java.lang.String)
public String[] getParameterValues(String name)
getParameterValues
in interface javax.servlet.ServletRequest
getParameterValues
in class DelegatedHttpServletRequest
ServletRequest.getParameterValues(java.lang.String)
public Enumeration<String> getParameterNames()
getParameterNames
in interface javax.servlet.ServletRequest
getParameterNames
in class DelegatedHttpServletRequest
ServletRequest.getParameterNames()
public String getMethod()
getMethod
in interface javax.servlet.http.HttpServletRequest
getMethod
in class DelegatedHttpServletRequest
HttpServletRequest.getMethod()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |