public final class SavedRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
addCookie(Cookie cookie) |
void |
addHeader(java.lang.String name,
java.lang.String value) |
void |
addLocale(java.util.Locale locale) |
ByteChunk |
getBody() |
java.lang.String |
getContentType() |
java.util.Iterator<Cookie> |
getCookies() |
java.util.Iterator<java.lang.String> |
getHeaderNames() |
java.util.Iterator<java.lang.String> |
getHeaderValues(java.lang.String name) |
java.util.Iterator<java.util.Locale> |
getLocales() |
java.lang.String |
getMethod() |
java.lang.String |
getQueryString() |
java.lang.String |
getRequestURI() |
java.lang.String |
getRequestURL() |
java.lang.String |
getRequestURLWithQueryString() |
void |
setBody(ByteChunk body) |
void |
setContentType(java.lang.String contentType) |
void |
setMethod(java.lang.String method) |
void |
setQueryString(java.lang.String queryString) |
void |
setRequestURI(java.lang.String requestURI) |
void |
setRequestURL(java.lang.String requestURL) |
public void addCookie(Cookie cookie)
public java.util.Iterator<Cookie> getCookies()
public void addHeader(java.lang.String name, java.lang.String value)
public java.util.Iterator<java.lang.String> getHeaderNames()
public java.util.Iterator<java.lang.String> getHeaderValues(java.lang.String name)
public void addLocale(java.util.Locale locale)
public java.util.Iterator<java.util.Locale> getLocales()
public java.lang.String getMethod()
public void setMethod(java.lang.String method)
public java.lang.String getQueryString()
public void setQueryString(java.lang.String queryString)
public java.lang.String getRequestURI()
public void setRequestURI(java.lang.String requestURI)
public java.lang.String getRequestURL()
public void setRequestURL(java.lang.String requestURL)
public ByteChunk getBody()
public void setBody(ByteChunk body)
public java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
public java.lang.String getRequestURLWithQueryString()