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

All Implemented Interfaces:
    HttpServletRequest

Direct Known Subclasses:
    CoyoteRequestFacade, HttpRequestFacade, CoyoteRequestFacade

Facade class that wraps a Coyote request object. All methods are delegated to the wrapped request.
Field Summary
protected  Request request    The wrapped request. 
protected static  StringManager sm    The string manager for this package. 
Constructor:
 public RequestFacade(Request request) 
    Construct a wrapper for the specified request.
    Parameters:
    request - The request to be wrapped
Method from org.apache.catalina.connector.RequestFacade Summary:
clear,   clone,   getAllowTrace,   getAttribute,   getAttributeNames,   getAuthType,   getCharacterEncoding,   getContentLength,   getContentType,   getContextPath,   getCookies,   getDateHeader,   getHeader,   getHeaderNames,   getHeaders,   getInputStream,   getIntHeader,   getLocalAddr,   getLocalName,   getLocalPort,   getLocale,   getLocales,   getMethod,   getParameter,   getParameterMap,   getParameterNames,   getParameterValues,   getPathInfo,   getPathTranslated,   getProtocol,   getQueryString,   getReader,   getRealPath,   getRemoteAddr,   getRemoteHost,   getRemotePort,   getRemoteUser,   getRequestDispatcher,   getRequestURI,   getRequestURL,   getRequestedSessionId,   getScheme,   getServerName,   getServerPort,   getServletPath,   getSession,   getSession,   getUserPrincipal,   isRequestedSessionIdFromCookie,   isRequestedSessionIdFromURL,   isRequestedSessionIdFromUrl,   isRequestedSessionIdValid,   isSecure,   isUserInRole,   removeAttribute,   setAttribute,   setCharacterEncoding
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.connector.RequestFacade Detail:
 public  void clear() 
    Clear facade.
 protected Object clone() throws CloneNotSupportedException 
    Prevent cloning the facade.
 public boolean getAllowTrace() 
 public Object getAttribute(String name) 
 public Enumeration getAttributeNames() 
 public String getAuthType() 
 public String getCharacterEncoding() 
 public int getContentLength() 
 public String getContentType() 
 public String getContextPath() 
 public Cookie[] getCookies() 
 public long getDateHeader(String name) 
 public String getHeader(String name) 
 public Enumeration getHeaderNames() 
 public Enumeration getHeaders(String name) 
 public ServletInputStream getInputStream() throws IOException 
 public int getIntHeader(String name) 
 public String getLocalAddr() 
 public String getLocalName() 
 public int getLocalPort() 
 public Locale getLocale() 
 public Enumeration getLocales() 
 public String getMethod() 
 public String getParameter(String name) 
 public Map getParameterMap() 
 public Enumeration getParameterNames() 
 public String[] getParameterValues(String name) 
 public String getPathInfo() 
 public String getPathTranslated() 
 public String getProtocol() 
 public String getQueryString() 
 public BufferedReader getReader() throws IOException 
 public String getRealPath(String path) 
 public String getRemoteAddr() 
 public String getRemoteHost() 
 public int getRemotePort() 
 public String getRemoteUser() 
 public RequestDispatcher getRequestDispatcher(String path) 
 public String getRequestURI() 
 public StringBuffer getRequestURL() 
 public String getRequestedSessionId() 
 public String getScheme() 
 public String getServerName() 
 public int getServerPort() 
 public String getServletPath() 
 public HttpSession getSession() 
 public HttpSession getSession(boolean create) 
 public Principal getUserPrincipal() 
 public boolean isRequestedSessionIdFromCookie() 
 public boolean isRequestedSessionIdFromURL() 
 public boolean isRequestedSessionIdFromUrl() 
 public boolean isRequestedSessionIdValid() 
 public boolean isSecure() 
 public boolean isUserInRole(String role) 
 public  void removeAttribute(String name) 
 public  void setAttribute(String name,
    Object o) 
 public  void setCharacterEncoding(String env) throws UnsupportedEncodingException