public final class SavedRequest extends Object
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.
Constructor and Description |
---|
SavedRequest() |
Modifier and Type | Method and Description |
---|---|
void |
addCookie(Cookie cookie) |
void |
addHeader(String name,
String value) |
void |
addLocale(Locale locale) |
ByteChunk |
getBody() |
String |
getContentType() |
Iterator<Cookie> |
getCookies() |
String |
getDecodedRequestURI() |
Iterator<String> |
getHeaderNames() |
Iterator<String> |
getHeaderValues(String name) |
Iterator<Locale> |
getLocales() |
String |
getMethod() |
String |
getQueryString() |
String |
getRequestURI() |
void |
setBody(ByteChunk body) |
void |
setContentType(String contentType) |
void |
setDecodedRequestURI(String decodedRequestURI) |
void |
setMethod(String method) |
void |
setQueryString(String queryString) |
void |
setRequestURI(String requestURI) |
public void addCookie(Cookie cookie)
public void addLocale(Locale locale)
public String getMethod()
public void setMethod(String method)
public String getQueryString()
public void setQueryString(String queryString)
public String getRequestURI()
public void setRequestURI(String requestURI)
public String getDecodedRequestURI()
public void setDecodedRequestURI(String decodedRequestURI)
public ByteChunk getBody()
public void setBody(ByteChunk body)
public String getContentType()
public void setContentType(String contentType)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.