org.sandev.tools.HTTP
Class ServletOutput

java.lang.Object
  extended byorg.sandev.tools.HTTP.ServletOutput
All Implemented Interfaces:
org.sandev.basics.util.UIRenderOperand, org.sandev.basics.util.UIRenderOutput, org.sandev.basics.util.UIRenderOutputStream

public class ServletOutput
extends java.lang.Object
implements org.sandev.basics.util.UIRenderOutputStream

Provides access to the HttpServletResponse PrintWriter


Field Summary
protected  javax.servlet.http.HttpServletResponse res
           
 
Constructor Summary
ServletOutput()
           
 
Method Summary
 java.io.PrintWriter getOutputWriter()
           
 javax.servlet.http.HttpServletResponse getRes()
           
 void init(java.lang.Object res)
          The initialization object in this case is an HttpServletResponse
 void setRes(javax.servlet.http.HttpServletResponse value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

res

protected javax.servlet.http.HttpServletResponse res
Constructor Detail

ServletOutput

public ServletOutput()
Method Detail

getRes

public javax.servlet.http.HttpServletResponse getRes()

setRes

public void setRes(javax.servlet.http.HttpServletResponse value)

init

public void init(java.lang.Object res)
The initialization object in this case is an HttpServletResponse

Specified by:
init in interface org.sandev.basics.util.UIRenderOperand

getOutputWriter

public java.io.PrintWriter getOutputWriter()
                                    throws java.io.IOException
Specified by:
getOutputWriter in interface org.sandev.basics.util.UIRenderOutputStream
Throws:
java.io.IOException