|
JML | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JML's specification of ServletContext.
Class Specifications |
Specifications inherited from class Object |
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT; public represents _getClass <- \typeof(this); |
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. |
String |
getServletContextName()
|
Enumeration |
getServletNames()
Deprecated. |
Enumeration |
getServlets()
Deprecated. |
void |
log(Exception exception,
String msg)
Deprecated. |
void |
log(String msg)
|
void |
log(String message,
Throwable throwable)
|
void |
removeAttribute(String name)
|
void |
setAttribute(String name,
Object object)
|
Method Detail |
public ServletContext getContext(String uripath)
public int getMajorVersion()
public int getMinorVersion()
public String getMimeType(String file)
public Set getResourcePaths(String path)
public URL getResource(String path) throws MalformedURLException
MalformedURLException
public InputStream getResourceAsStream(String path)
public RequestDispatcher getRequestDispatcher(String path)
public RequestDispatcher getNamedDispatcher(String name)
public Servlet getServlet(String name) throws ServletException
ServletException
public Enumeration getServlets()
public Enumeration getServletNames()
public void log(String msg)
public void log(Exception exception, String msg)
public void log(String message, Throwable throwable)
public String getRealPath(String path)
public String getServerInfo()
public String getInitParameter(String name)
public Enumeration getInitParameterNames()
public Object getAttribute(String name)
public Enumeration getAttributeNames()
public void setAttribute(String name, Object object)
public void removeAttribute(String name)
public String getServletContextName()
|
JML | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |