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(javax.servlet.http.Cookie cookie) |
void |
addHeader(String name,
String value) |
void |
addLocale(Locale locale) |
void |
addParameter(String name,
String[] values) |
ByteChunk |
getBody() |
String |
getContentType() |
Iterator |
getCookies() |
String |
getDecodedRequestURI() |
Iterator |
getHeaderNames() |
Iterator |
getHeaderValues(String name) |
Iterator |
getLocales() |
String |
getMethod() |
Iterator |
getParameterNames() |
String[] |
getParameterValues(String name) |
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(javax.servlet.http.Cookie cookie)
public Iterator getCookies()
public Iterator getHeaderNames()
public void addLocale(Locale locale)
public Iterator getLocales()
public String getMethod()
public void setMethod(String method)
public Iterator getParameterNames()
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 © 2014 JBoss by Red Hat. All rights reserved.