Home » apache-tomcat-6.0.26-src » org.apache » catalina » connector » [javadoc | source]
org.apache.catalina.connector
public class: ResponseFacade [javadoc | source]
java.lang.Object
   org.apache.catalina.connector.ResponseFacade

All Implemented Interfaces:
    HttpServletResponse

Direct Known Subclasses:
    CoyoteResponseFacade, HttpResponseFacade, CoyoteResponseFacade

Facade class that wraps a Coyote response object. All methods are delegated to the wrapped response.
Field Summary
protected static  StringManager sm    The string manager for this package. 
protected  Response response    The wrapped response. 
Constructor:
 public ResponseFacade(Response response) 
    Construct a wrapper for the specified response.
    Parameters:
    response - The response to be wrapped
Method from org.apache.catalina.connector.ResponseFacade Summary:
addCookie,   addDateHeader,   addHeader,   addIntHeader,   clear,   clone,   containsHeader,   encodeRedirectURL,   encodeRedirectUrl,   encodeURL,   encodeUrl,   finish,   flushBuffer,   getBufferSize,   getCharacterEncoding,   getContentType,   getLocale,   getOutputStream,   getWriter,   isCommitted,   isFinished,   reset,   resetBuffer,   sendError,   sendError,   sendRedirect,   setBufferSize,   setCharacterEncoding,   setContentLength,   setContentType,   setDateHeader,   setHeader,   setIntHeader,   setLocale,   setStatus,   setStatus
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.connector.ResponseFacade Detail:
 public  void addCookie(Cookie cookie) 
 public  void addDateHeader(String name,
    long date) 
 public  void addHeader(String name,
    String value) 
 public  void addIntHeader(String name,
    int value) 
 public  void clear() 
    Clear facade.
 protected Object clone() throws CloneNotSupportedException 
    Prevent cloning the facade.
 public boolean containsHeader(String name) 
 public String encodeRedirectURL(String url) 
 public String encodeRedirectUrl(String url) 
 public String encodeURL(String url) 
 public String encodeUrl(String url) 
 public  void finish() 
 public  void flushBuffer() throws IOException 
 public int getBufferSize() 
 public String getCharacterEncoding() 
 public String getContentType() 
 public Locale getLocale() 
 public ServletOutputStream getOutputStream() throws IOException 
 public PrintWriter getWriter() throws IOException 
 public boolean isCommitted() 
 public boolean isFinished() 
 public  void reset() 
 public  void resetBuffer() 
 public  void sendError(int sc) throws IOException 
 public  void sendError(int sc,
    String msg) throws IOException 
 public  void sendRedirect(String location) throws IOException 
 public  void setBufferSize(int size) 
 public  void setCharacterEncoding(String arg0) 
 public  void setContentLength(int len) 
 public  void setContentType(String type) 
 public  void setDateHeader(String name,
    long date) 
 public  void setHeader(String name,
    String value) 
 public  void setIntHeader(String name,
    int value) 
 public  void setLocale(Locale loc) 
 public  void setStatus(int sc) 
 public  void setStatus(int sc,
    String sm)