org.apache.cocoon.environment.http
Class HttpContext
java.lang.Object
|
+--org.apache.cocoon.environment.http.HttpContext
- All Implemented Interfaces:
- Context
- public final class HttpContext
- extends java.lang.Object
- implements Context
Implements the Context
interface
- Version:
- CVS $Id: HttpContext.java,v 1.7.2.3 2002/12/05 14:18:30 cziegeler Exp $
- Author:
- ?
Constructor Summary |
HttpContext(javax.servlet.ServletContext servletContext)
Constructs a HttpContext object from a ServletContext object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpContext
public HttpContext(javax.servlet.ServletContext servletContext)
- Constructs a HttpContext object from a ServletContext object
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute
in interface Context
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
- Specified by:
setAttribute
in interface Context
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttribute
in interface Context
getAttributeNames
public java.util.Enumeration getAttributeNames()
- Specified by:
getAttributeNames
in interface Context
getResource
public java.net.URL getResource(java.lang.String path)
throws java.net.MalformedURLException
- Specified by:
getResource
in interface Context
getResourceAsStream
public java.io.InputStream getResourceAsStream(java.lang.String path)
- Specified by:
getResourceAsStream
in interface Context
getRealPath
public java.lang.String getRealPath(java.lang.String path)
- Specified by:
getRealPath
in interface Context
getMimeType
public java.lang.String getMimeType(java.lang.String file)
- Specified by:
getMimeType
in interface Context
getInitParameter
public java.lang.String getInitParameter(java.lang.String name)
- Specified by:
getInitParameter
in interface Context
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.