public class HttpServletResponseWrapperImpl
extends HttpServletResponseWrapper
| Constructor and Description |
|---|
HttpServletResponseWrapperImpl(HttpServletResponse response) |
| Modifier and Type | Method and Description |
|---|---|
static HttpServletResponseWrapperImpl |
findHttpRuntimeResponse(HttpServletResponse response) |
java.lang.String |
getMessage() |
ServletOutputStream |
getOutputStream() |
int |
getStatus() |
java.io.PrintWriter |
getWriter() |
boolean |
isCompleted() |
void |
sendError(int status) |
void |
sendError(int status,
java.lang.String message) |
void |
setCompleted(boolean completed) |
public HttpServletResponseWrapperImpl(HttpServletResponse response)
public void sendError(int status)
public void sendError(int status,
java.lang.String message)
public java.lang.String getMessage()
public int getStatus()
public ServletOutputStream getOutputStream()
throws java.io.IOException
java.io.IOExceptionpublic java.io.PrintWriter getWriter()
throws java.io.IOException
java.io.IOExceptionpublic boolean isCompleted()
public void setCompleted(boolean completed)
public static HttpServletResponseWrapperImpl findHttpRuntimeResponse(HttpServletResponse response)