Method Summary |
|
protected synchronized AutoReloadServletLoader | createNewLocalServletLoader(boolean keepold) |
public Object | getAttribute(String name) ServletContext implementation - Get an attribute value. |
public Enumeration | getAttributeNames() |
public ServletContext | getContext(String uripath) |
protected static String | getFilePath(DirectoryResource dir) |
public String | getInitParameter(String name) Returns a String containing the value of the named
context-wide initialization parameter, or null if the
parameter does not exist.
This method can make available configuration information useful
to an entire "web application". |
public Enumeration | getInitParameterNames() Returns the names of the context's initialization parameters as an
Enumeration of String objects, or an
empty Enumeration if the context has no initialization
parameters. |
protected static ResourceReference | getLocalRoot(ResourceReference rr_root, ResourceReference ref) |
protected synchronized AutoReloadServletLoader | getLocalServletLoader() Get or create a suitable LocalServletLoader instance to load
that servlet. |
public int | getMajorVersion() |
public String | getMimeType(String filename) ServletContext implementation - Get the MIME type for given file. |
public int | getMinorVersion() |
public RequestDispatcher | getNamedDispatcher(String name) Returns a
RequestDispatcher object that acts
as a wrapper for the named servlet. |
protected static String | getRealPath(String path, ResourceReference rr_root, ResourceReference rr) ServletContext implementation - Translate a piece of path. |
public String | getRealPath(String path) ServletContext implementation - Translate a piece of path. |
public RequestDispatcher | getRequestDispatcher(String urlpath) Returns a RequestDispatcher object for the specified URL path if
the context knows of an active source (such as a servlet, JSP page,
CGI script, etc) of content for the particular path. |
public URL | getResource(String path) |
public InputStream | getResourceAsStream(String path) |
public Set | getResourcePaths(String path) |
public ServerInterface | getServer() |
public String | getServerInfo() ServletContext implementation - Get server informations. |
public Servlet | getServlet(String name) ServletContext implementation - Lookup a given servlet. |
public String | getServletContextName() |
public File | getServletDirectory() |
protected int | getServletInstanceMax() |
public File | getServletLogFile() |
public Enumeration | getServletNames() ServletContext implementation - Enumerate all servlets names
within context. |
protected long | getServletTimeout() |
public Enumeration | getServlets() ServletContext implementation - Enumerate all servlets within context. |
protected static String | guessContentTypeFromName(String fname) A useful utility routine that tries to guess the content-type
of an object based upon its extension. |
public void | log(String msg) ServletContext implementation - Log a message. |
public void | log(Exception ex, String msg) |
public void | log(String message, Throwable throwable) |
public boolean | propertyChanged(String name) |
public void | removeAttribute(String name) |
public void | resourceUnloaded(StructureChangedEvent evt) |
public void | setAttribute(String name, Object object) |