org.mmbase.util
Class LocalServletResponse

java.lang.Object
  extended by org.mmbase.util.LocalServletResponse
All Implemented Interfaces:
ServletResponse
Direct Known Subclasses:
LocalHttpServletResponse

public class LocalServletResponse
extends Object
implements ServletResponse

Since:
MMBase-1.9.1
Version:
$Id: LocalServletResponse.java 41055 2010-02-15 23:59:16Z michiel $
Author:
Michiel Meeuwissen
See Also:
LocalHttpServletRequest

Constructor Summary
LocalServletResponse(OutputStream output)
           
LocalServletResponse(Writer w)
           
 
Method Summary
 void flushBuffer()
           
 int getBufferSize()
           
 String getCharacterEncoding()
           
 String getContentType()
           
 Locale getLocale()
           
 ServletOutputStream getOutputStream()
           
 PrintWriter getWriter()
           
 boolean isCommitted()
           
 void reset()
           
 void resetBuffer()
           
 void setBufferSize(int size)
           
 void setCharacterEncoding(String charset)
           
 void setContentLength(int len)
           
 void setContentType(String type)
           
 void setLocale(Locale loc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalServletResponse

public LocalServletResponse(Writer w)

LocalServletResponse

public LocalServletResponse(OutputStream output)
Method Detail

flushBuffer

public void flushBuffer()
Specified by:
flushBuffer in interface ServletResponse

getBufferSize

public int getBufferSize()
Specified by:
getBufferSize in interface ServletResponse

getCharacterEncoding

public String getCharacterEncoding()
Specified by:
getCharacterEncoding in interface ServletResponse

getContentType

public String getContentType()
Specified by:
getContentType in interface ServletResponse

getLocale

public Locale getLocale()
Specified by:
getLocale in interface ServletResponse

getOutputStream

public ServletOutputStream getOutputStream()
Specified by:
getOutputStream in interface ServletResponse

getWriter

public PrintWriter getWriter()
Specified by:
getWriter in interface ServletResponse

isCommitted

public boolean isCommitted()
Specified by:
isCommitted in interface ServletResponse

reset

public void reset()
Specified by:
reset in interface ServletResponse

resetBuffer

public void resetBuffer()
Specified by:
resetBuffer in interface ServletResponse

setBufferSize

public void setBufferSize(int size)
Specified by:
setBufferSize in interface ServletResponse

setCharacterEncoding

public void setCharacterEncoding(String charset)
Specified by:
setCharacterEncoding in interface ServletResponse

setContentLength

public void setContentLength(int len)
Specified by:
setContentLength in interface ServletResponse

setContentType

public void setContentType(String type)
Specified by:
setContentType in interface ServletResponse

setLocale

public void setLocale(Locale loc)
Specified by:
setLocale in interface ServletResponse


MMBase 2.0-SNAPSHOT - null