Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » environment » http » [javadoc | source]
org.apache.cocoon.environment.http
public final class: HttpRequest [javadoc | source]
java.lang.Object
   org.apache.cocoon.environment.http.HttpRequest

All Implemented Interfaces:
    Request

Implements the org.apache.cocoon.environment.Request interface to provide request information in the HTTP servlets environment.
Field Summary
protected  String reqURI     
Constructor:
 protected HttpRequest(HttpServletRequest req,
    HttpEnvironment env) 
    Creates a HttpRequest based on a real HttpServletRequest object
Method from org.apache.cocoon.environment.http.HttpRequest Summary:
get,   getAttribute,   getAttributeNames,   getAuthType,   getCharacterEncoding,   getContentLength,   getContentType,   getContextPath,   getCookieMap,   getCookies,   getDateHeader,   getHeader,   getHeaderNames,   getHeaders,   getInputStream,   getIntHeader,   getLocale,   getLocales,   getMethod,   getParameter,   getParameterNames,   getParameterValues,   getPathInfo,   getPathTranslated,   getProtocol,   getQueryString,   getReader,   getRealPath,   getRemoteAddr,   getRemoteHost,   getRemoteUser,   getRequestDispatcher,   getRequestURI,   getRequestedSessionId,   getScheme,   getServerName,   getServerPort,   getServletPath,   getSession,   getSession,   getSitemapURI,   getSitemapURIPrefix,   getUserPrincipal,   isRequestedSessionIdFromCookie,   isRequestedSessionIdFromURL,   isRequestedSessionIdFromUrl,   isRequestedSessionIdValid,   isSecure,   isUserInRole,   removeAttribute,   setAttribute,   setCharacterEncoding,   setContainerEncoding
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.environment.http.HttpRequest Detail:
 public Object get(String name) 
 public Object getAttribute(String name) 
 public Enumeration getAttributeNames() 
 public String getAuthType() 
 public String getCharacterEncoding() 
 public int getContentLength() 
 public String getContentType() 
 public String getContextPath() 
 public Map getCookieMap() 
 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 Locale getLocale() 
 public Enumeration getLocales() 
 public String getMethod() 
 public String getParameter(String name) 
 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) 
Deprecated! As - of Version 2.1 of the Java Servlet API, use javax.servlet.ServletContext#getRealPath(java.lang.String) instead.

 public String getRemoteAddr() 
 public String getRemoteHost() 
 public String getRemoteUser() 
 public RequestDispatcher getRequestDispatcher(String path) 
 public String getRequestURI() 
 public String getRequestedSessionId() 
 public String getScheme() 
 public String getServerName() 
 public int getServerPort() 
 public String getServletPath() 
 public Session getSession() 
 public Session getSession(boolean create) 
 public String getSitemapURI() 
 public String getSitemapURIPrefix() 
 public Principal getUserPrincipal() 
 public boolean isRequestedSessionIdFromCookie() 
 public boolean isRequestedSessionIdFromURL() 
 public boolean isRequestedSessionIdFromUrl() 
Deprecated! As - of Version 2.1 of the Java Servlet API, use #isRequestedSessionIdFromURL() instead.

 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 form_encoding) throws UnsupportedEncodingException 
 public  void setContainerEncoding(String container_encoding) 
    Sets the default encoding of the servlet container.