groovy.servlet
Class ServletBinding.ServletOutput
java.lang.Object
groovy.servlet.ServletBinding.ServletOutput
class ServletBinding.ServletOutput
A class to manage the response output stream and writer.
If the stream have been 'used', then using the writer will cause
a IllegalStateException. If the writer have been 'used', then
using the stream will cause a IllegalStateException. 'used' means
any write method has been called. Simply requesting the objects will
not cause an exception.
- author:
- Jochen Theodorou
Methods inherited from class Object
|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
ServletBinding.ServletOutput
public ServletBinding.ServletOutput(HttpServletResponse response)
-
getOutputStream
public ServletOutputStream getOutputStream()
-
getWriter
public PrintWriter getWriter()
-
Copyright © 2003-2009 The Codehaus. All rights reserved.