|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.components.deli.DeliImpl.CocoonServletContext
public static class DeliImpl.CocoonServletContext
Stub implementation of Servlet Context
Constructor Summary | |
---|---|
DeliImpl.CocoonServletContext(Context context)
|
Method Summary | |
---|---|
Object |
getAttribute(String name)
|
Enumeration |
getAttributeNames()
|
ServletContext |
getContext(String uripath)
|
String |
getInitParameter(String name)
|
Enumeration |
getInitParameterNames()
|
int |
getMajorVersion()
|
String |
getMimeType(String file)
|
int |
getMinorVersion()
|
RequestDispatcher |
getNamedDispatcher(String name)
|
String |
getRealPath(String path)
|
RequestDispatcher |
getRequestDispatcher(String path)
|
URL |
getResource(String path)
|
InputStream |
getResourceAsStream(String path)
|
Set |
getResourcePaths(String path)
|
String |
getServerInfo()
|
Servlet |
getServlet(String name)
Deprecated. The method DeliImpl.CocoonServletContext.getServlet(String) overrides a deprecated method from ServletContext. |
String |
getServletContextName()
|
Enumeration |
getServletNames()
Deprecated. The method DeliImpl.CocoonServletContext.getServletNames() overrides a deprecated method from ServletContext. |
Enumeration |
getServlets()
Deprecated. The method DeliImpl.CocoonServletContext.getServlets() overrides a deprecated method from ServletContext. |
void |
log(Exception exception,
String message)
Deprecated. use log(String message, Throwable throwable) instead. |
void |
log(String message)
|
void |
log(String message,
Throwable throwable)
|
void |
removeAttribute(String name)
|
void |
setAttribute(String name,
Object value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeliImpl.CocoonServletContext(Context context)
Method Detail |
---|
public Object getAttribute(String name)
getAttribute
in interface ServletContext
public void setAttribute(String name, Object value)
setAttribute
in interface ServletContext
public Enumeration getAttributeNames()
getAttributeNames
in interface ServletContext
public URL getResource(String path) throws MalformedURLException
getResource
in interface ServletContext
MalformedURLException
public String getRealPath(String path)
getRealPath
in interface ServletContext
public String getMimeType(String file)
getMimeType
in interface ServletContext
public String getInitParameter(String name)
getInitParameter
in interface ServletContext
public InputStream getResourceAsStream(String path)
getResourceAsStream
in interface ServletContext
public ServletContext getContext(String uripath)
getContext
in interface ServletContext
public Enumeration getInitParameterNames()
getInitParameterNames
in interface ServletContext
public int getMajorVersion()
getMajorVersion
in interface ServletContext
public int getMinorVersion()
getMinorVersion
in interface ServletContext
public RequestDispatcher getNamedDispatcher(String name)
getNamedDispatcher
in interface ServletContext
public RequestDispatcher getRequestDispatcher(String path)
getRequestDispatcher
in interface ServletContext
public Set getResourcePaths(String path)
public String getServerInfo()
getServerInfo
in interface ServletContext
public Servlet getServlet(String name) throws ServletException
getServlet
in interface ServletContext
ServletException
public String getServletContextName()
public Enumeration getServletNames()
getServletNames
in interface ServletContext
public Enumeration getServlets()
getServlets
in interface ServletContext
public void log(String message)
log
in interface ServletContext
public void log(Exception exception, String message)
log(String message, Throwable throwable)
instead.
log
in interface ServletContext
public void log(String message, Throwable throwable)
log
in interface ServletContext
public void removeAttribute(String name)
removeAttribute
in interface ServletContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |