public final class SavedRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addCookie(javax.servlet.http.Cookie cookie) |
void |
addHeader(String name,
String value) |
void |
addLocale(Locale locale) |
org.apache.tomcat.util.buf.ByteChunk |
getBody() |
String |
getContentType() |
Iterator<javax.servlet.http.Cookie> |
getCookies() |
Iterator<String> |
getHeaderNames() |
Iterator<String> |
getHeaderValues(String name) |
Iterator<Locale> |
getLocales() |
String |
getMethod() |
String |
getQueryString() |
String |
getRequestURI() |
String |
getRequestURL() |
String |
getRequestURLWithQueryString() |
void |
setBody(org.apache.tomcat.util.buf.ByteChunk body) |
void |
setContentType(String contentType) |
void |
setMethod(String method) |
void |
setQueryString(String queryString) |
void |
setRequestURI(String requestURI) |
void |
setRequestURL(String requestURL) |
public void addCookie(javax.servlet.http.Cookie cookie)
public Iterator<javax.servlet.http.Cookie> getCookies()
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 getRequestURL()
public void setRequestURL(String requestURL)
public org.apache.tomcat.util.buf.ByteChunk getBody()
public void setBody(org.apache.tomcat.util.buf.ByteChunk body)
public String getContentType()
public void setContentType(String contentType)
public String getRequestURLWithQueryString()
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.