Inheritance diagram for AdminContext:
Public Member Functions | |
this (ServletProvider provider, char[] name) | |
Private Member Functions | |
this (char[] name) | |
this (char[] name, char[] basePath) | |
char[] | getName () |
synchronized Dictionary | getAttributes () |
synchronized Dictionary | getConfiguration () |
synchronized ServletContext | setAttributes (MutableDictionary other) |
synchronized ServletContext | setConfiguration (MutableDictionary other) |
int | getMajorVersion () |
int | getMinorVersion () |
char[] | getMimeType (char[] ext) |
FileConduit | getResourceAsFile (char[] path) |
ServletContext | log (char[] msg) |
ServletContext | log (char[] msg, Object error) |
char[] | getServerInfo () |
ServletContext | checkPath (char[] path) |
Static Private Member Functions | |
this () |
Definition at line 251 of file Admin.d.
|
|
|
Initialize the mime-map and the servlet logging instance Definition at line 186 of file ServletContext.d. References Logger::getLogger(), ServletContext::irp, ServletContext::list, ServletContext::mimeMap, Dictionary::optimize(), and MutableDictionary::put(). |
|
Construct a context with the given name, and a base-path of the current working directory. Definition at line 208 of file ServletContext.d. |
|
Construct a context with the given name, and the specified base-path. The latter is where files and properties will be located from. . Definition at line 221 of file ServletContext.d. References ServletContext::basePath. |
|
Return the name of this context. Definition at line 246 of file ServletContext.d. Referenced by ServletRequest::getContextPath(), and ServletRequest::getPathInfo(). |
|
Return the attributes of this context Definition at line 257 of file ServletContext.d. References ServletContext::attributes. |
|
Return the current configuration of this context Definition at line 268 of file ServletContext.d. |
|
Swizzle the attributes of this context. This is not to be exposed publicly. Definition at line 280 of file ServletContext.d. References ServletContext::attributes. |
|
Swizzle the configuration of this context. This is not to be exposed publicly. Definition at line 293 of file ServletContext.d. |
|
Return the major version number. Definition at line 305 of file ServletContext.d. |
|
Return the minor number. Definition at line 316 of file ServletContext.d. |
|
Return the mime type for a given file extension. Returns null if the extension is not known. Definition at line 328 of file ServletContext.d. References Dictionary::get(), and ServletContext::mimeMap. Referenced by ServletResponse::copyFile(). |
|
Return a FileConduit for the given path. The file is located via the base-path. Throws an IOException if the path is invalid, or there's a problem of some kind with the file. Definition at line 343 of file ServletContext.d. References ServletContext::basePath, ServletContext::checkPath(), and FileConduit. Referenced by ServletResponse::copyFile(). |
|
Send an informational message to the logger subsystem Definition at line 355 of file ServletContext.d. References Logger::info(). |
|
Send a error message to the logger subsystem Definition at line 367 of file ServletContext.d. References Logger::error(). |
|
Return the identity of this server Definition at line 379 of file ServletContext.d. References ServletContext::ServerIdentity. |
|
Check the given path to see if it tries to subvert the base-path notion. Throws an IOException if anything dodgy is noted. Definition at line 392 of file ServletContext.d. References ServletContext::irp. Referenced by ServletContext::getResourceAsFile(). |