Class SavedRequest
- java.lang.Object
-
- org.apache.catalina.authenticator.SavedRequest
-
- All Implemented Interfaces:
Serializable
public final class SavedRequest extends Object implements Serializable
Object that saves the critical information from a request so that form-based authentication can reproduce it once the user has been authenticated.IMPLEMENTATION NOTE - It is assumed that this object is accessed only from the context of a single thread, so no synchronization around internal collection classes is performed.
- Author:
- Craig R. McClanahan
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SavedRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCookie(Cookie cookie)voidaddHeader(String name, String value)voidaddLocale(Locale locale)ByteChunkgetBody()StringgetContentType()Iterator<Cookie>getCookies()StringgetDecodedRequestURI()Iterator<String>getHeaderNames()Iterator<String>getHeaderValues(String name)Iterator<Locale>getLocales()StringgetMethod()intgetOriginalMaxInactiveInterval()StringgetQueryString()StringgetRequestURI()voidsetBody(ByteChunk body)voidsetContentType(String contentType)voidsetDecodedRequestURI(String decodedRequestURI)voidsetMethod(String method)voidsetOriginalMaxInactiveInterval(int originalMaxInactiveInterval)voidsetQueryString(String queryString)voidsetRequestURI(String requestURI)
-
-
-
Method Detail
-
addCookie
public void addCookie(Cookie cookie)
-
addLocale
public void addLocale(Locale locale)
-
getMethod
public String getMethod()
-
setMethod
public void setMethod(String method)
-
getQueryString
public String getQueryString()
-
setQueryString
public void setQueryString(String queryString)
-
getRequestURI
public String getRequestURI()
-
setRequestURI
public void setRequestURI(String requestURI)
-
getDecodedRequestURI
public String getDecodedRequestURI()
-
setDecodedRequestURI
public void setDecodedRequestURI(String decodedRequestURI)
-
getBody
public ByteChunk getBody()
-
setBody
public void setBody(ByteChunk body)
-
getContentType
public String getContentType()
-
setContentType
public void setContentType(String contentType)
-
getOriginalMaxInactiveInterval
public int getOriginalMaxInactiveInterval()
-
setOriginalMaxInactiveInterval
public void setOriginalMaxInactiveInterval(int originalMaxInactiveInterval)
-
-