All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.apache.tomcat.core.HttpServletResponseFacade

java.lang.Object
   |
   +----org.apache.tomcat.core.HttpServletResponseFacade

public class HttpServletResponseFacade
extends Object
implements HttpServletResponse
Author:
James Duncan Davidson [duncan@eng.sun.com], Jason Hunter [jch@eng.sun.com], James Todd [gonzo@eng.sun.com]

Constructor Index

 o HttpServletResponseFacade(Response)

Method Index

 o addCookie(Cookie)
 o addDateHeader(String, long)
 o addHeader(String, String)
 o addIntHeader(String, int)
 o containsHeader(String)
 o encodeRedirectURL(String)
 o encodeRedirectUrl(String)
Deprecated.
 o encodeURL(String)
 o encodeUrl(String)
Deprecated.
 o flushBuffer()
 o getBufferSize()
 o getCharacterEncoding()
 o getLocale()
 o getOutputStream()
 o getWriter()
 o isCommitted()
 o reset()
 o sendError(int)
 o sendError(int, String)
 o sendRedirect(String)
 o setBufferSize(int)
 o setContentLength(int)
 o setContentType(String)
 o setDateHeader(String, long)
 o setHeader(String, String)
 o setIntHeader(String, int)
 o setLocale(Locale)
 o setStatus(int)
 o setStatus(int, String)
Deprecated.

Constructors

 o HttpServletResponseFacade
 public HttpServletResponseFacade(Response response)

Methods

 o addCookie
 public void addCookie(Cookie cookie)
 o containsHeader
 public boolean containsHeader(String name)
 o encodeRedirectURL
 public String encodeRedirectURL(String location)
 o encodeRedirectUrl
 public String encodeRedirectUrl(String location)
Note: encodeRedirectUrl() is deprecated.

 o encodeURL
 public String encodeURL(String url)
 o encodeUrl
 public String encodeUrl(String url)
Note: encodeUrl() is deprecated.

 o getCharacterEncoding
 public String getCharacterEncoding()
 o getOutputStream
 public ServletOutputStream getOutputStream()
 o getWriter
 public PrintWriter getWriter() throws IOException
 o sendError
 public void sendError(int sc) throws IOException
 o sendError
 public void sendError(int sc,
                       String msg) throws IOException
 o sendRedirect
 public void sendRedirect(String location) throws IOException, IllegalArgumentException
 o setContentLength
 public void setContentLength(int len)
 o setContentType
 public void setContentType(String type)
 o setDateHeader
 public void setDateHeader(String name,
                           long date)
 o addDateHeader
 public void addDateHeader(String name,
                           long value)
 o setHeader
 public void setHeader(String name,
                       String value)
 o addHeader
 public void addHeader(String name,
                       String value)
 o setIntHeader
 public void setIntHeader(String name,
                          int value)
 o addIntHeader
 public void addIntHeader(String name,
                          int value)
 o setStatus
 public void setStatus(int sc)
 o setBufferSize
 public void setBufferSize(int size) throws IllegalStateException
 o getBufferSize
 public int getBufferSize()
 o reset
 public void reset() throws IllegalStateException
 o isCommitted
 public boolean isCommitted()
 o flushBuffer
 public void flushBuffer() throws IOException
 o setLocale
 public void setLocale(Locale loc)
 o getLocale
 public Locale getLocale()
 o setStatus
 public void setStatus(int sc,
                       String msg)
Note: setStatus() is deprecated.


All Packages  Class Hierarchy  This Package  Previous  Next  Index