This class is used by javax.faces.application.ViewHandler#createView to obtain the text
that exists after the <f:view> tag.
| Modifier and Type | Field and Description |
|---|---|
| private ByteArrayWebOutputStream | |
| private CharArrayWriter | |
| private WebPrintWriter | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public byte[] | |
| public char[] | |
| public ServletOutputStream | getOutputStream()
Overrides javax. Implements javax. ServletOutputStream suitable for writing binary
data in the response.
|
| public int | getStatus()
Overrides javax. Implements javax. HttpServletResponse#getStatus on the wrapped response
object.
|
| public PrintWriter | getWriter()
Overrides javax. Implements javax. PrintWriter object that
can send character text to the client.
|
| public boolean | |
| public boolean | |
| public void | |
| public void | sendError(int
the error status code sc, String the descriptive message msg)Overrides javax. Implements javax. |
| public void | sendError(int
the error status code sc)Overrides javax. Implements javax. |
| public void | setStatus(int
the status code sc)Overrides javax. Implements javax. |
| public void | setStatus(int
the status code sc, String the status message sm)Overrides javax. Implements javax. |
| public String |
| basos | back to summary |
|---|---|
| private ByteArrayWebOutputStream basos | |
| caw | back to summary |
|---|---|
| private CharArrayWriter caw | |
| pw | back to summary |
|---|---|
| private WebPrintWriter pw | |
| status | back to summary |
|---|---|
| private int status | |
| ViewHandlerResponseWrapper | back to summary |
|---|---|
| public ViewHandlerResponseWrapper(HttpServletResponse wrapped) | |
| flushContentToWrappedResponse | back to summary |
|---|---|
| public void flushContentToWrappedResponse() throws IOException | |
| flushToWriter | back to summary |
|---|---|
| public void flushToWriter(Writer writer, String encoding) throws IOException | |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() | |
| getChars | back to summary |
|---|---|
| public char[] getChars() | |
| 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
| |
| getStatus | back to summary |
|---|---|
| public int getStatus() Overrides javax. Implements javax. Doc from javax. The default behaviour of this method is to call
| |
| getWriter | back to summary |
|---|---|
| public PrintWriter getWriter() throws IOException Overrides javax. Implements javax. Doc from javax. Returns a Calling flush() on the Either this method or
| |
| isBytes | back to summary |
|---|---|
| public boolean isBytes() | |
| isChars | back to summary |
|---|---|
| public boolean isChars() | |
| resetBuffers | back to summary |
|---|---|
| public void resetBuffers() throws IOException | |
| sendError | back to summary |
|---|---|
| public void sendError(int sc, String msg) throws IOException Overrides javax. Implements javax. Doc from javax. The default behavior of this method is to call sendError(int sc, String msg) on the wrapped response object.
| |
| sendError | back to summary |
|---|---|
| public void sendError(int sc) throws IOException Overrides javax. Implements javax. Doc from javax. The default behavior of this method is to call sendError(int sc) on the wrapped response object.
| |
| setStatus | back to summary |
|---|---|
| public void setStatus(int sc) Overrides javax. Implements javax. Doc from javax. The default behavior of this method is to call setStatus(int sc) on the wrapped response object.
| |
| setStatus | back to summary |
|---|---|
| public void setStatus(int sc, String sm) Overrides javax. Implements javax. Doc from javax. The default behavior of this method is to call setStatus(int sc, String sm) on the wrapped response object.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |