public class SimpleSavedRequest extends java.lang.Object implements SavedRequest
Constructor and Description |
---|
SimpleSavedRequest() |
SimpleSavedRequest(SavedRequest request) |
SimpleSavedRequest(java.lang.String redirectUrl) |
Modifier and Type | Method and Description |
---|---|
java.util.List<javax.servlet.http.Cookie> |
getCookies() |
java.util.Collection<java.lang.String> |
getHeaderNames() |
java.util.List<java.lang.String> |
getHeaderValues(java.lang.String name) |
java.util.List<java.util.Locale> |
getLocales() |
java.lang.String |
getMethod() |
java.util.Map<java.lang.String,java.lang.String[]> |
getParameterMap() |
java.lang.String[] |
getParameterValues(java.lang.String name) |
java.lang.String |
getRedirectUrl() |
void |
setCookies(java.util.List<javax.servlet.http.Cookie> cookies) |
void |
setHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers) |
void |
setLocales(java.util.List<java.util.Locale> locales) |
void |
setMethod(java.lang.String method) |
void |
setParameters(java.util.Map<java.lang.String,java.lang.String[]> parameters) |
void |
setRedirectUrl(java.lang.String redirectUrl) |
public SimpleSavedRequest()
public SimpleSavedRequest(java.lang.String redirectUrl)
public SimpleSavedRequest(SavedRequest request)
public java.lang.String getRedirectUrl()
getRedirectUrl
in interface SavedRequest
public java.util.List<javax.servlet.http.Cookie> getCookies()
getCookies
in interface SavedRequest
public java.lang.String getMethod()
getMethod
in interface SavedRequest
public java.util.List<java.lang.String> getHeaderValues(java.lang.String name)
getHeaderValues
in interface SavedRequest
public java.util.Collection<java.lang.String> getHeaderNames()
getHeaderNames
in interface SavedRequest
public java.util.List<java.util.Locale> getLocales()
getLocales
in interface SavedRequest
public java.lang.String[] getParameterValues(java.lang.String name)
getParameterValues
in interface SavedRequest
public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
getParameterMap
in interface SavedRequest
public void setRedirectUrl(java.lang.String redirectUrl)
public void setCookies(java.util.List<javax.servlet.http.Cookie> cookies)
public void setMethod(java.lang.String method)
public void setHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
public void setLocales(java.util.List<java.util.Locale> locales)
public void setParameters(java.util.Map<java.lang.String,java.lang.String[]> parameters)