public class XINSServletContext extends Object implements ServletContext
| Constructor and Description |
|---|
XINSServletContext()
Creates a new
XINSServletContext instance. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String str) |
Enumeration |
getAttributeNames() |
ServletContext |
getContext(String str) |
String |
getInitParameter(String str) |
Enumeration |
getInitParameterNames() |
int |
getMajorVersion() |
String |
getMimeType(String str) |
int |
getMinorVersion() |
RequestDispatcher |
getNamedDispatcher(String str) |
String |
getRealPath(String str) |
RequestDispatcher |
getRequestDispatcher(String str) |
URL |
getResource(String str) |
InputStream |
getResourceAsStream(String str) |
Set |
getResourcePaths(String str) |
String |
getServerInfo() |
Servlet |
getServlet(String str) |
String |
getServletContextName() |
Enumeration |
getServletNames() |
Enumeration |
getServlets() |
void |
log(Exception exception,
String msg) |
void |
log(String msg) |
void |
log(String msg,
Throwable throwable) |
void |
removeAttribute(String str) |
void |
setAttribute(String str,
Object obj) |
public XINSServletContext()
XINSServletContext instance.public void removeAttribute(String str)
removeAttribute in interface ServletContextpublic Servlet getServlet(String str)
getServlet in interface ServletContextpublic Set getResourcePaths(String str)
getResourcePaths in interface ServletContextpublic Object getAttribute(String str)
getAttribute in interface ServletContextpublic ServletContext getContext(String str)
getContext in interface ServletContextpublic String getInitParameter(String str)
getInitParameter in interface ServletContextpublic String getMimeType(String str)
getMimeType in interface ServletContextpublic RequestDispatcher getNamedDispatcher(String str)
getNamedDispatcher in interface ServletContextpublic String getRealPath(String str)
getRealPath in interface ServletContextpublic RequestDispatcher getRequestDispatcher(String str)
getRequestDispatcher in interface ServletContextpublic URL getResource(String str)
getResource in interface ServletContextpublic InputStream getResourceAsStream(String str)
getResourceAsStream in interface ServletContextpublic void log(Exception exception, String msg)
log in interface ServletContextpublic void log(String msg)
log in interface ServletContextpublic void log(String msg, Throwable throwable)
log in interface ServletContextpublic void setAttribute(String str, Object obj)
setAttribute in interface ServletContextpublic Enumeration getServlets()
getServlets in interface ServletContextpublic Enumeration getServletNames()
getServletNames in interface ServletContextpublic String getServletContextName()
getServletContextName in interface ServletContextpublic String getServerInfo()
getServerInfo in interface ServletContextpublic Enumeration getAttributeNames()
getAttributeNames in interface ServletContextpublic Enumeration getInitParameterNames()
getInitParameterNames in interface ServletContextpublic int getMajorVersion()
getMajorVersion in interface ServletContextpublic int getMinorVersion()
getMinorVersion in interface ServletContextSee http://www.xins.org/.