org.apache.catalina.authenticator

Class SavedRequest


public final class SavedRequest
extends java.lang.Object

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.

FIXME - Currently, this object has no mechanism to save or restore the data content of the request, although it does save request parameters so that a POST transaction can be faithfully duplicated.

Version:
$Revision: 1.3 $ $Date: 2004/02/27 14:58:41 $

Author:
Craig R. McClanahan

Method Summary

void
addCookie(Cookie cookie)
void
addHeader(String name, String value)
void
addLocale(Locale locale)
void
addParameter(String name, values[] )
Iterator
getCookies()
Iterator
getHeaderNames()
Iterator
getHeaderValues(String name)
Iterator
getLocales()
String
getMethod()
Iterator
getParameterNames()
String[]
getParameterValues(String name)
String
getQueryString()
String
getRequestURI()
void
setMethod(String method)
void
setQueryString(String queryString)
void
setRequestURI(String requestURI)

Method Details

addCookie

public void addCookie(Cookie cookie)


addHeader

public void addHeader(String name,
                      String value)


addLocale

public void addLocale(Locale locale)


addParameter

public void addParameter(String name,
                         values[] )


getCookies

public Iterator getCookies()


getHeaderNames

public Iterator getHeaderNames()


getHeaderValues

public Iterator getHeaderValues(String name)


getLocales

public Iterator getLocales()


getMethod

public String getMethod()


getParameterNames

public Iterator getParameterNames()


getParameterValues

public String[] getParameterValues(String name)


getQueryString

public String getQueryString()


getRequestURI

public String getRequestURI()


setMethod

public void setMethod(String method)


setQueryString

public void setQueryString(String queryString)


setRequestURI

public void setRequestURI(String requestURI)


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.