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.
| Modifier and Type | Field and Description |
|---|---|
| private ByteChunk | body
The body of this request. |
| private String | contentType
The content type of the request, used if this is a POST. |
| private final List | cookies
The set of Cookies associated with this Request. |
| private String | decodedRequestURI
The decode request URI associated with this Request. |
| private final Map | headers
The set of Headers associated with this Request. |
| private final List | locales
The set of Locales associated with this Request. |
| private String | method
The request method used on this Request. |
| private int | originalMaxInactiveInterval
The original maxInactiveInterval for the session. |
| private String | queryString
The query string associated with this Request. |
| private String | requestURI
The request URI associated with this Request. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public ByteChunk | |
| public String | |
| public Iterator | |
| public String | |
| public Iterator | |
| public Iterator | |
| public Iterator | |
| public String | |
| public int | |
| public String | |
| public String | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| body | back to summary |
|---|---|
| private ByteChunk body The body of this request. | |
| contentType | back to summary |
|---|---|
| private String contentType The content type of the request, used if this is a POST. | |
| cookies | back to summary |
|---|---|
| private final List<Cookie> cookies The set of Cookies associated with this Request. | |
| decodedRequestURI | back to summary |
|---|---|
| private String decodedRequestURI The decode request URI associated with this Request. Path parameters are also excluded | |
| headers | back to summary |
|---|---|
| private final Map<String, List<String>> headers The set of Headers associated with this Request. Each key is a header name, while the value is a List containing one or more actual values for this header. The values are returned as an Iterator when you ask for them. | |
| locales | back to summary |
|---|---|
| private final List<Locale> locales The set of Locales associated with this Request. | |
| method | back to summary |
|---|---|
| private String method The request method used on this Request. | |
| originalMaxInactiveInterval | back to summary |
|---|---|
| private int originalMaxInactiveInterval The original maxInactiveInterval for the session. | |
| queryString | back to summary |
|---|---|
| private String queryString The query string associated with this Request. | |
| requestURI | back to summary |
|---|---|
| private String requestURI The request URI associated with this Request. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SavedRequest | back to summary |
|---|---|
| public SavedRequest() | |
| addCookie | back to summary |
|---|---|
| public void addCookie(Cookie cookie) | |
| addHeader | back to summary |
|---|---|
| public void addHeader(String name, String value) | |
| addLocale | back to summary |
|---|---|
| public void addLocale(Locale locale) | |
| getBody | back to summary |
|---|---|
| public ByteChunk getBody() | |
| getContentType | back to summary |
|---|---|
| public String getContentType() | |
| getCookies | back to summary |
|---|---|
| public Iterator | |
| getDecodedRequestURI | back to summary |
|---|---|
| public String getDecodedRequestURI() | |
| getHeaderNames | back to summary |
|---|---|
| public Iterator | |
| getHeaderValues | back to summary |
|---|---|
| public Iterator | |
| getLocales | back to summary |
|---|---|
| public Iterator | |
| getMethod | back to summary |
|---|---|
| public String getMethod() | |
| getOriginalMaxInactiveInterval | back to summary |
|---|---|
| public int getOriginalMaxInactiveInterval() | |
| getQueryString | back to summary |
|---|---|
| public String getQueryString() | |
| getRequestURI | back to summary |
|---|---|
| public String getRequestURI() | |
| setBody | back to summary |
|---|---|
| public void setBody(ByteChunk body) | |
| setContentType | back to summary |
|---|---|
| public void setContentType(String contentType) | |
| setDecodedRequestURI | back to summary |
|---|---|
| public void setDecodedRequestURI(String decodedRequestURI) | |
| setMethod | back to summary |
|---|---|
| public void setMethod(String method) | |
| setOriginalMaxInactiveInterval | back to summary |
|---|---|
| public void setOriginalMaxInactiveInterval(int originalMaxInactiveInterval) | |
| setQueryString | back to summary |
|---|---|
| public void setQueryString(String queryString) | |
| setRequestURI | back to summary |
|---|---|
| public void setRequestURI(String requestURI) | |