org.apache.cocoon.environment.http
Class HttpContext
java.lang.Object
org.apache.cocoon.environment.impl.AbstractContext
org.apache.cocoon.environment.http.HttpContext
- All Implemented Interfaces:
- Context
- public final class HttpContext
- extends AbstractContext
Implements the Context
interface
- Version:
- CVS $Id: HttpContext.java 292734 2005-09-30 13:55:41Z bloritsch $
- Author:
- ?
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpContext
public HttpContext(ServletContext servletContext)
- Constructs a HttpContext object from a ServletContext object
getAttribute
public Object getAttribute(String name)
setAttribute
public void setAttribute(String name,
Object value)
removeAttribute
public void removeAttribute(String name)
getAttributeNames
public Enumeration getAttributeNames()
getResource
public URL getResource(String path)
throws MalformedURLException
- Throws:
MalformedURLException
getResourceAsStream
public InputStream getResourceAsStream(String path)
getRealPath
public String getRealPath(String path)
getMimeType
public String getMimeType(String file)
getInitParameter
public String getInitParameter(String name)
getContext
public ServletContext getContext(String uripath)
getInitParameterNames
public Enumeration getInitParameterNames()
getMajorVersion
public int getMajorVersion()
getMinorVersion
public int getMinorVersion()
getNamedDispatcher
public RequestDispatcher getNamedDispatcher(String name)
getRequestDispatcher
public RequestDispatcher getRequestDispatcher(String path)
getServerInfo
public String getServerInfo()
log
public void log(String msg)
log
public void log(String msg,
Throwable throwable)
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.