public final class SavedRequest
extends java.lang.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(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.lang.String |
getDecodedRequestURI() |
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() |
void |
setBody(ByteChunk body) |
void |
setContentType(java.lang.String contentType) |
void |
setDecodedRequestURI(java.lang.String decodedRequestURI) |
void |
setMethod(java.lang.String method) |
void |
setQueryString(java.lang.String queryString) |
void |
setRequestURI(java.lang.String requestURI) |
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 getDecodedRequestURI()
public void setDecodedRequestURI(java.lang.String decodedRequestURI)
public ByteChunk getBody()
public void setBody(ByteChunk body)
public java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.