Implements javax.servlet.HttpServletResponse from the javax.servlet package.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static PrintWriter | |
| private static ServletOutputStream | |
| private BufferCache. | |
| private String | |
| private HttpConnection | |
| private String | |
| private boolean | |
| private int | |
| private boolean | |
| private Locale | |
| private String | |
| private int | |
| private String | |
| private int | |
| private PrintWriter | |
| public static final int | |
| public static final int | |
| public static String | SET_INCLUDE_HEADER_PREFIX
If a header name starts with this string, the header (stripped of the prefix)
can be set during include using only |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addCookie(Cookie
the Cookie to return to the client cookie)Implements javax. |
| public void | addDateHeader(String
the name of the header to set name, long the additional date value date)Implements javax. |
| 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)Implements javax. |
| public void | addIntHeader(String
the name of the header name, int the assigned integer value value)Implements javax. |
| public void | |
| public boolean | containsHeader(String
the header name name)Implements javax. |
| public void | |
| public void | |
| public String | encodeRedirectURL(String
the url to be encoded. url)Implements javax. sendRedirect method or, if encoding is not needed,
returns the URL unchanged.
|
| public String | encodeRedirectUrl(String
the url to be encoded. url)Implements javax. |
| public String | encodeURL(String
the url to be encoded. url)Implements javax. |
| public String | encodeUrl(String
the url to be encoded. url)Implements javax. |
| public void | flushBuffer()
Implements javax. |
| public int | getBufferSize()
Implements javax. |
| public String | getCharacterEncoding()
Implements javax. |
| public long | |
| public String | getContentType()
Implements javax. |
| public String | getHeader(String
the name of the response header whose value to return name)Implements javax. |
| public Enumeration | getHeaders(String
the name of the response header whose values to return name)Implements javax. |
| public HttpFields | |
| public Locale | getLocale()
Implements javax. setLocale method.
|
| public ServletOutputStream | getOutputStream()
Implements javax. ServletOutputStream suitable for writing binary
data in the response.
|
| public String | |
| public int | Returns: The HTTP status code that has been set for this request. This will be200Implements javax. |
| public PrintWriter | getWriter()
Implements javax. PrintWriter object that
can send character text to the client.
|
| public boolean | isCommitted()
Implements javax. |
| public boolean | |
| public boolean | |
| protected void | |
| public void | reset()
Implements javax. |
| public void | resetBuffer()
Implements javax. |
| public void | sendError(int
the error status code code, String the descriptive message message)Implements javax. Sends an error response to the client using the specified status and clears the buffer. |
| public void | sendError(int
the error status code sc)Implements javax. |
| public void | |
| public void | sendRedirect(String
the redirect location URL location)Implements javax. |
| public void | setBufferSize(int
the preferred buffer size size)Implements javax. |
| public void | setCharacterEncoding(String
a String specifying only the character set
defined by IANA Character Sets
(http://www.iana.org/assignments/character-sets) encoding)Implements javax. |
| public void | setContentLength(int
an integer specifying the length of the
content being returned to the client; sets the Content-Length header len)Implements javax. |
| public void | setContentType(String
a contentType)String specifying the MIME
type of the contentImplements javax. |
| public void | setDateHeader(String
the name of the header to set name, long the assigned date value date)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)Implements javax. |
| public void | setIntHeader(String
the name of the header name, int the assigned integer value value)Implements javax. |
| public void | setLocale(Locale
the locale of the response locale)Implements javax. |
| public void | |
| public void | setStatus(int
the status code sc)Implements javax. |
| public void | setStatus(int
the status code sc, String the status message sm)Implements javax. |
| public String |