public class ContextHandler.Context extends Object implements ServletContext
A partial implementation of ServletContext. A complete implementation is provided by the derived ContextHandler.
| Modifier | Constructor and Description |
|---|---|
protected |
ContextHandler.Context() |
public ContextHandler getContextHandler()
public ServletContext getContext(String uripath)
getContext in interface ServletContextpublic int getMajorVersion()
getMajorVersion in interface ServletContextpublic String getMimeType(String file)
getMimeType in interface ServletContextpublic int getMinorVersion()
getMinorVersion in interface ServletContextpublic RequestDispatcher getNamedDispatcher(String name)
getNamedDispatcher in interface ServletContextpublic RequestDispatcher getRequestDispatcher(String uriInContext)
getRequestDispatcher in interface ServletContextpublic String getRealPath(String path)
getRealPath in interface ServletContextpublic URL getResource(String path) throws MalformedURLException
getResource in interface ServletContextMalformedURLExceptionpublic InputStream getResourceAsStream(String path)
getResourceAsStream in interface ServletContextpublic Set getResourcePaths(String path)
getResourcePaths in interface ServletContextpublic String getServerInfo()
getServerInfo in interface ServletContextpublic Servlet getServlet(String name) throws ServletException
getServlet in interface ServletContextServletExceptionpublic Enumeration getServletNames()
getServletNames in interface ServletContextpublic Enumeration getServlets()
getServlets in interface ServletContextpublic void log(Exception exception, String msg)
log in interface ServletContextpublic void log(String msg)
log in interface ServletContextpublic void log(String message, Throwable throwable)
log in interface ServletContextpublic String getInitParameter(String name)
getInitParameter in interface ServletContextpublic Enumeration getInitParameterNames()
getInitParameterNames in interface ServletContextpublic Object getAttribute(String name)
getAttribute in interface ServletContextpublic Enumeration getAttributeNames()
getAttributeNames in interface ServletContextpublic void setAttribute(String name, Object value)
setAttribute in interface ServletContextpublic void removeAttribute(String name)
removeAttribute in interface ServletContextpublic String getServletContextName()
getServletContextName in interface ServletContextpublic String getContextPath()
getContextPath in interface ServletContextCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.