Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » tomcat » core » [javadoc | source]
org.apache.tomcat.core
public class: Request [javadoc | source]
java.lang.Object
   org.apache.tomcat.core.Request

Direct Known Subclasses:
    ServerRequest, Tomcat3Request

Field Summary
protected  String requestURI     
protected  String queryString     
 String serverName     
protected  Vector cookies     
protected  String contextPath     
protected  String lookupPath     
protected  String servletPath     
protected  String pathInfo     
protected  Hashtable parameters     
protected  String reqSessionId     
protected  int contentLength     
protected  String contentType     
protected  String charEncoding     
protected  String authType     
protected  String remoteUser     
protected  RequestAdapter reqA     
protected  Response response     
protected  HttpServletRequestFacade requestFacade     
protected  Context context     
protected  Hashtable attributes     
protected  ServerSession serverSession     
protected  boolean didReadFormData     
protected  boolean didParameters     
protected  boolean didCookies     
Constructor:
 public Request() 
Method from org.apache.tomcat.core.Request Summary:
getAttribute,   getAttributeNames,   getAuthType,   getCharacterEncoding,   getCharsetFromContentType,   getContentLength,   getContentType,   getContext,   getCookies,   getDateHeader,   getFacade,   getHeader,   getHeaderNames,   getHeaders,   getInputStream,   getIntHeader,   getLookupPath,   getMethod,   getParameterNames,   getParameterValues,   getPathInfo,   getProtocol,   getQueryString,   getReader,   getRemoteAddr,   getRemoteHost,   getRemoteUser,   getRequestURI,   getRequestedSessionId,   getScheme,   getServerName,   getServerPort,   getServerSession,   getServletPath,   getSession,   getSession,   processCookies,   processFormData,   processFormData,   recycle,   removeAttribute,   setAttribute,   setAuthType,   setCharEncoding,   setCharacterEncoding,   setContentLength,   setContentType,   setContext,   setParameters,   setPathInfo,   setQueryString,   setRequestAdapter,   setRequestURI,   setRequestedSessionId,   setResponse,   setServerName,   setServerSession,   setServletPath,   unUrlDecode
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tomcat.core.Request Detail:
 public Object getAttribute(String name) 
 public Enumeration getAttributeNames() 
 public String getAuthType() 
 public String getCharacterEncoding() 
 public String getCharsetFromContentType(String type) 
 public int getContentLength() 
 public String getContentType() 
 public Context getContext() 
 public Cookie[] getCookies() 
 public long getDateHeader(String name) 
 public HttpServletRequestFacade getFacade() 
 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 getLookupPath() 
 public String getMethod() 
 public Enumeration getParameterNames() 
 public String[] getParameterValues(String name) 
 public String getPathInfo() 
 public String getProtocol() 
 public String getQueryString() 
 public BufferedReader getReader() throws IOException 
 public String getRemoteAddr() 
 public String getRemoteHost() 
 public String getRemoteUser() 
 public String getRequestURI() 
 public String getRequestedSessionId() 
 public String getScheme() 
 public String getServerName() 
 public int getServerPort() 
 public ServerSession getServerSession(boolean create) 
 public String getServletPath() 
 public HttpSession getSession() 
 public HttpSession getSession(boolean create) 
 public  void processCookies() 
 public  void processFormData(String data) 
 public  void processFormData(InputStream in,
    int contentLength) 
 public  void recycle() 
 public  void removeAttribute(String name) 
 public  void setAttribute(String name,
    Object value) 
 public  void setAuthType(String authType) 
 public  void setCharEncoding(String enc) 
 public  void setCharacterEncoding(String charEncoding) 
 public  void setContentLength(int len) 
 public  void setContentType(String type) 
 public  void setContext(Context context) 
 public  void setParameters(Hashtable h) 
 public  void setPathInfo(String pathInfo) 
 public  void setQueryString(String queryString) 
    Set query string - will be called by forward
 public  void setRequestAdapter(RequestAdapter reqA) 
 public  void setRequestURI(String r) 
 public  void setRequestedSessionId(String reqSessionId) 
 public  void setResponse(Response response) 
 public  void setServerName(String serverName) 
    Virtual host
 public  void setServerSession(ServerSession serverSession) 
 public  void setServletPath(String servletPath) 
 public String unUrlDecode(String data)