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

All Implemented Interfaces:
    Context

Implements the org.apache.cocoon.environment.Context interface
Constructor:
 public HttpContext(ServletContext servletContext) 
    Constructs a HttpContext object from a ServletContext object
Method from org.apache.cocoon.environment.http.HttpContext Summary:
getAttribute,   getAttributeNames,   getContext,   getInitParameter,   getInitParameterNames,   getMajorVersion,   getMimeType,   getMinorVersion,   getNamedDispatcher,   getRealPath,   getRequestDispatcher,   getResource,   getResourceAsStream,   getServerInfo,   log,   log,   removeAttribute,   setAttribute
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.environment.http.HttpContext Detail:
 public Object getAttribute(String name) 
 public Enumeration getAttributeNames() 
 public ServletContext getContext(String uripath) 
 public String getInitParameter(String name) 
 public Enumeration getInitParameterNames() 
 public int getMajorVersion() 
 public String getMimeType(String file) 
 public int getMinorVersion() 
 public RequestDispatcher getNamedDispatcher(String name) 
 public String getRealPath(String path) 
 public RequestDispatcher getRequestDispatcher(String path) 
 public URL getResource(String path) throws MalformedURLException 
 public InputStream getResourceAsStream(String path) 
 public String getServerInfo() 
 public  void log(String msg) 
 public  void log(String msg,
    Throwable throwable) 
 public  void removeAttribute(String name) 
 public  void setAttribute(String name,
    Object value)