@groovy.transform.CompileStatic @groovy.transform.InheritConstructors class OutputAwareHttpServletResponse extends HttpServletResponseWrapper
Tracks whether getOutputStream() was called in order to prevent calls to getWriter() after getOutputStream() has been called
Type | Name and description |
---|---|
boolean |
writerAvailable Whether the writer is available |
Constructor and description |
---|
OutputAwareHttpServletResponse() |
Type Params | Return Type | Name and description |
---|---|---|
|
ServletOutputStream |
getOutputStream() |
|
java.io.PrintWriter |
getWriter() |
Groovy Documentation