Located in compilation unit of javax.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private static final ResourceBundle | |
| private NoBodyOutputStream | |
| private boolean | |
| private PrintWriter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | addHeader(String
the name of the header name, String the additional header value If it contains
octet string, it should be encoded
according to RFC 2047
(http://www.ietf.org/rfc/rfc2047.txt) value)Overrides javax. Implements javax. |
| public void | addIntHeader(String
the name of the header name, int the assigned integer value value)Overrides javax. Implements javax. |
| private void | |
| public ServletOutputStream | getOutputStream()
Overrides javax. Implements javax. ServletOutputStream suitable for writing binary
data in the response.
|
| public PrintWriter | getWriter()
Overrides javax. Implements javax. PrintWriter object that
can send character text to the client.
|
| pack-priv void | |
| public void | setContentLength(int
an integer specifying the length of the
content being returned to the client; sets the Content-Length header len)Overrides javax. Implements javax. |
| public void | setContentLengthLong(long
a long specifying the length of the
content being returned to the client; sets the Content-Length header len)Overrides javax. Implements javax. |
| public void | setHeader(String
the name of the header name, String the header value If it contains octet string,
it should be encoded according to RFC 2047
(http://www.ietf.org/rfc/rfc2047.txt) value)Overrides javax. Implements javax. |
| public void | setIntHeader(String
the name of the header name, int the assigned integer value value)Overrides javax. Implements javax. |
| didSetContentLength | back to summary |
|---|---|
| private boolean didSetContentLength | |
| lStrings | back to summary |
|---|---|
| private static final ResourceBundle lStrings | |
| noBody | back to summary |
|---|---|
| private NoBodyOutputStream noBody | |
| usingOutputStream | back to summary |
|---|---|
| private boolean usingOutputStream | |
| writer | back to summary |
|---|---|
| private PrintWriter writer | |
| NoBodyResponse | back to summary |
|---|---|
| pack-priv NoBodyResponse(HttpServletResponse r) | |
| addHeader | back to summary |
|---|---|
| public void addHeader(String name, String value) Overrides javax. Implements javax. Doc from javax. The default behavior of this method is to return addHeader(String name, String value) on the wrapped response object.
| |
| addIntHeader | back to summary |
|---|---|
| public void addIntHeader(String name, int value) Overrides javax. Implements javax. Doc from javax. The default behavior of this method is to call addIntHeader(String name, int value) on the wrapped response object.
| |
| checkHeader | back to summary |
|---|---|
| private void checkHeader(String name) | |
| getOutputStream | back to summary |
|---|---|
| public ServletOutputStream getOutputStream() throws IOException Overrides javax. Implements javax. Doc from javax. Returns a Calling flush() on the ServletOutputStream commits the response.
Either this method or
| |
| getWriter | back to summary |
|---|---|
| public PrintWriter getWriter() throws UnsupportedEncodingException Overrides javax. Implements javax. Doc from javax. Returns a Calling flush() on the Either this method or
| |
| setContentLength | back to summary |
|---|---|
| pack-priv void setContentLength() | |
| setContentLength | back to summary |
|---|---|
| public void setContentLength(int len) Overrides javax. Implements javax. Doc from javax. Sets the length of the content body in the response In HTTP servlets, this method sets the HTTP Content-Length header.
| |
| setContentLengthLong | back to summary |
|---|---|
| public void setContentLengthLong(long len) Overrides javax. Implements javax. Doc from javax. Sets the length of the content body in the response In HTTP servlets, this method sets the HTTP Content-Length header.
| |
| setHeader | back to summary |
|---|---|
| public void setHeader(String name, String value) Overrides javax. Implements javax. Doc from javax. The default behavior of this method is to return setHeader(String name, String value) on the wrapped response object.
| |
| setIntHeader | back to summary |
|---|---|
| public void setIntHeader(String name, int value) Overrides javax. Implements javax. Doc from javax. The default behavior of this method is to call setIntHeader(String name, int value) on the wrapped response object.
| |