Quadcap Embeddable Server

com.quadcap.http.server22.WebApplication Class Reference

Inheritance diagram for com.quadcap.http.server22.WebApplication:

ServletContext List of all members.

Detailed Description

This class provides a wrapper for a Web Application, implementing the application's ServletContext interface.

Author:
Stan Bailes

Definition at line 84 of file WebApplication.java.

Public Member Functions

 WebApplication ()
void init (WebServer server, String root, Directory dir) throws ServletException, IOException
void shutdown ()
void setDisplayName (String name)
String getDisplayName ()
void addInitParam (String prop, String val)
Enumeration getInitParameterNames ()
String getInitParameter (String name)
void addWelcomeFile (String s)
List getWelcomeFiles ()
void addServlet (WebServlet servlet)
void setSessionTimeout (int timeout)
int getSessionTimeout ()
void addServletMapping (String servletName, String urlPattern)
void setErrorPage (String errorPage)
String getErrorPage ()
Object getAttribute (String name)
Enumeration getAttributeNames ()
void setAttribute (String name, Object val)
void removeAttribute (String name)
String getServerInfo ()
 Returns the name and version of the network service under which the servlet is running.

int getMajorVersion ()
 Return the server major version number.

int getMinorVersion ()
 Return the server minor version number.

ServletContext getContext (String path)
RequestDispatcher getRequestDispatcher (String path)
RequestDispatcher getNamedDispatcher (String name)
RequestDispatcher getRelativeRequestDispatcher (String path, HttpRequest base)
String getMimeType (String file)
String getRealPath (String path)
URL getResource (String path) throws MalformedURLException
InputStream getResourceAsStream (String path)
HSession getSession (String sessionId)
 Returns the session bound to the specified session ID.

HSession createSession ()
 Create a new session.

void expireSessions ()
 Reap any expired sessions (sessions not active during the last interval).

void log (String msg)
 Writes a message to the server's log file.

void log (Exception e, String msg)
 Write the stack backtrace for the exception and the specified message to the server's log file.

void log (String msg, Throwable e)
 Write the stack backtrace for the exception and the specified message to the server's log file.

Servlet getServlet (String name)
Enumeration getServletNames ()
Enumeration getServlets ()
String getContextPath ()
String getContextClassPath ()
 Return the classpath for the context's libraries and classes under WEB-INF.

WebServer getWebServer ()
String getRootPath ()
boolean isDirectory (String d)
String toString ()

Package Functions

final void resolveServlets (Hashtable t)
void parseDeploymentDescriptor (Reader r) throws ServletException, IOException
WebServlet getServletForRequest (HttpDispatcher rd)
void addMimeMapping (String ext, String type)
String resolveDirectory (String path)
 If a URI refers to a directory, use the welcome file list to find a resource in the directory to serve.

void removeSession (HSession session)
final ClassLoader getClassLoader ()
final void loadInitialServlets () throws ServletException

Package Attributes

WebServer server
WebClassLoader classLoader
String contextPath
HashMap servlets = new HashMap()
 Map name -> Servlet.

Hashtable sessions = new Hashtable()
 Session table: sessionId -> HttpSession.

Hashtable attributes = new Hashtable()
 Servlet context attributes.

Hashtable mimeTypes = new Hashtable()
 Mime types.

Hashtable pathMappings = new Hashtable()
 Path mappings.

Hashtable extMappings = new Hashtable()
Hashtable exactMappings = new Hashtable()
WebServlet defaultServlet = null
List welcomeFiles = new ArrayList()
 Welcome file list.

String errorPage = null
 Error page.

Directory docRoot
 My document root.

String displayName = ""
long sessionCount = 0
int sessionTimeout = 3600
Properties initParams = new Properties()


Constructor & Destructor Documentation

com.quadcap.http.server22.WebApplication.WebApplication  ) 
 

Definition at line 140 of file WebApplication.java.


Member Function Documentation

void com.quadcap.http.server22.WebApplication.addInitParam String  prop,
String  val
 

Definition at line 244 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.addInitParam(), and com.quadcap.http.server22.WebApplication.initParams.

Referenced by com.quadcap.http.server22.WebApplication.addInitParam(), and com.quadcap.http.server22.DDParser.endElement().

void com.quadcap.http.server22.WebApplication.addMimeMapping String  ext,
String  type
[package]
 

Definition at line 449 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.addMimeMapping(), com.quadcap.http.server22.WebApplication.mimeTypes, and com.quadcap.http.server22.WebApplication.toString().

Referenced by com.quadcap.http.server22.WebApplication.addMimeMapping(), and com.quadcap.http.server22.DDParser.endElement().

void com.quadcap.http.server22.WebApplication.addServlet WebServlet  servlet  ) 
 

Definition at line 268 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.addServlet(), com.quadcap.http.server22.WebServlet.getServletName(), com.quadcap.http.server22.WebApplication.servlets, and com.quadcap.http.server22.WebApplication.toString().

Referenced by com.quadcap.http.server22.WebApplication.addServlet(), and com.quadcap.http.server22.DDParser.endElement().

void com.quadcap.http.server22.WebApplication.addServletMapping String  servletName,
String  urlPattern
 

Definition at line 328 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.addServletMapping(), com.quadcap.http.server22.WebApplication.defaultServlet, com.quadcap.http.server22.WebApplication.exactMappings, com.quadcap.http.server22.WebApplication.extMappings, com.quadcap.http.server22.WebApplication.pathMappings, and com.quadcap.http.server22.WebApplication.servlets.

Referenced by com.quadcap.http.server22.WebApplication.addServletMapping(), and com.quadcap.http.server22.DDParser.endElement().

void com.quadcap.http.server22.WebApplication.addWelcomeFile String  s  ) 
 

Definition at line 256 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.addWelcomeFile(), and com.quadcap.http.server22.WebApplication.welcomeFiles.

Referenced by com.quadcap.http.server22.WebApplication.addWelcomeFile(), and com.quadcap.http.server22.DDParser.endElement().

HSession com.quadcap.http.server22.WebApplication.createSession  ) 
 

Create a new session.

Definition at line 545 of file WebApplication.java.

References com.quadcap.http.server22.WebServer.makeSessionId(), com.quadcap.http.server22.WebApplication.server, com.quadcap.http.server22.WebApplication.sessions, and com.quadcap.http.server22.WebApplication.sessionTimeout.

Referenced by com.quadcap.http.server22.HttpRequest.getRequestedSessionId(), and com.quadcap.http.server22.HttpRequest.getSession().

void com.quadcap.http.server22.WebApplication.expireSessions  ) 
 

Reap any expired sessions (sessions not active during the last interval).

Definition at line 563 of file WebApplication.java.

References com.quadcap.http.server22.HSession.getLastAccessedTime(), com.quadcap.http.server22.HSession.getMaxInactiveInterval(), com.quadcap.http.server22.HSession.invalidate(), and com.quadcap.http.server22.WebApplication.sessions.

Referenced by com.quadcap.http.server22.WebServer.expireSessions().

Object com.quadcap.http.server22.WebApplication.getAttribute String  name  ) 
 

Definition at line 357 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.attributes, and com.quadcap.http.server22.WebApplication.getAttribute().

Referenced by com.quadcap.http.server22.WebApplication.getAttribute().

Enumeration com.quadcap.http.server22.WebApplication.getAttributeNames  ) 
 

Definition at line 361 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.attributes.

final ClassLoader com.quadcap.http.server22.WebApplication.getClassLoader  )  [package]
 

Definition at line 649 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.classLoader.

Referenced by com.quadcap.http.server22.WebServlet.init().

ServletContext com.quadcap.http.server22.WebApplication.getContext String  path  ) 
 

Definition at line 400 of file WebApplication.java.

References com.quadcap.http.server22.WebServer.getContext(), com.quadcap.http.server22.WebApplication.getContext(), and com.quadcap.http.server22.WebApplication.server.

Referenced by com.quadcap.http.server22.WebApplication.getContext().

String com.quadcap.http.server22.WebApplication.getContextClassPath  ) 
 

Return the classpath for the context's libraries and classes under WEB-INF.

Definition at line 645 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.classLoader, and com.quadcap.http.server22.WebClassLoader.getClassPath().

Referenced by com.quadcap.http.servlets.jsp.JavaCompiler.init().

String com.quadcap.http.server22.WebApplication.getContextPath  ) 
 

Definition at line 637 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.contextPath.

Referenced by com.quadcap.http.server22.WebWorker.doSession(), and com.quadcap.http.server22.HttpDispatcher.HttpDispatcher().

String com.quadcap.http.server22.WebApplication.getDisplayName  ) 
 

Definition at line 240 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.displayName.

String com.quadcap.http.server22.WebApplication.getErrorPage  ) 
 

Definition at line 353 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.errorPage.

String com.quadcap.http.server22.WebApplication.getInitParameter String  name  ) 
 

Definition at line 252 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.getInitParameter(), and com.quadcap.http.server22.WebApplication.initParams.

Referenced by com.quadcap.http.server22.WebApplication.getInitParameter().

Enumeration com.quadcap.http.server22.WebApplication.getInitParameterNames  ) 
 

Definition at line 248 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.initParams.

int com.quadcap.http.server22.WebApplication.getMajorVersion  ) 
 

Return the server major version number.

Definition at line 389 of file WebApplication.java.

String com.quadcap.http.server22.WebApplication.getMimeType String  file  ) 
 

Definition at line 459 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.getMimeType(), com.quadcap.http.server22.WebServer.getMimeTypeForExt(), com.quadcap.http.server22.WebApplication.mimeTypes, and com.quadcap.http.server22.WebApplication.server.

Referenced by com.quadcap.http.server22.WebApplication.getMimeType().

int com.quadcap.http.server22.WebApplication.getMinorVersion  ) 
 

Return the server minor version number.

Definition at line 396 of file WebApplication.java.

RequestDispatcher com.quadcap.http.server22.WebApplication.getNamedDispatcher String  name  ) 
 

Definition at line 414 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.getNamedDispatcher(), and com.quadcap.http.server22.WebApplication.servlets.

Referenced by com.quadcap.http.server22.WebApplication.getNamedDispatcher().

String com.quadcap.http.server22.WebApplication.getRealPath String  path  ) 
 

Definition at line 498 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.docRoot, and com.quadcap.http.server22.WebApplication.getRealPath().

Referenced by com.quadcap.http.server22.WebApplication.getRealPath(), and com.quadcap.http.server22.HttpRequest.getRealPath().

RequestDispatcher com.quadcap.http.server22.WebApplication.getRelativeRequestDispatcher String  path,
HttpRequest  base
 

Definition at line 423 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.getRelativeRequestDispatcher(), and com.quadcap.http.server22.HttpRequest.getServletPath().

Referenced by com.quadcap.http.server22.WebApplication.getRelativeRequestDispatcher(), and com.quadcap.http.server22.HttpRequest.getRequestDispatcher().

RequestDispatcher com.quadcap.http.server22.WebApplication.getRequestDispatcher String  path  ) 
 

Parameters:
path is a string that must begin with '/' and is interpreted relative to this context's root

Definition at line 408 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.getRequestDispatcher().

Referenced by com.quadcap.http.server22.WebWorker.doSession(), and com.quadcap.http.server22.WebApplication.getRequestDispatcher().

URL com.quadcap.http.server22.WebApplication.getResource String  path  )  throws MalformedURLException
 

Definition at line 504 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.docRoot, and com.quadcap.http.server22.WebApplication.getResource().

Referenced by com.quadcap.http.server22.WebApplication.getResource().

InputStream com.quadcap.http.server22.WebApplication.getResourceAsStream String  path  ) 
 

Definition at line 508 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.getResourceAsStream().

Referenced by com.quadcap.http.server22.WebApplication.getResourceAsStream().

String com.quadcap.http.server22.WebApplication.getRootPath  ) 
 

Definition at line 684 of file WebApplication.java.

Referenced by com.quadcap.http.server22.HttpDispatcher.forward(), and com.quadcap.http.server22.HttpDispatcher.include().

String com.quadcap.http.server22.WebApplication.getServerInfo  ) 
 

Returns the name and version of the network service under which the servlet is running.

Returns:
the server information string

Definition at line 379 of file WebApplication.java.

Servlet com.quadcap.http.server22.WebApplication.getServlet String  name  ) 
 

Deprecated:
in 2.2

Definition at line 619 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.getServlet().

Referenced by com.quadcap.http.server22.WebApplication.getServlet().

WebServlet com.quadcap.http.server22.WebApplication.getServletForRequest HttpDispatcher  rd  )  [package]
 

Definition at line 278 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.defaultServlet, com.quadcap.http.server22.WebApplication.exactMappings, com.quadcap.http.server22.WebApplication.extMappings, com.quadcap.http.server22.WebApplication.getServletForRequest(), com.quadcap.http.server22.HttpDispatcher.getServletPath(), com.quadcap.http.server22.WebApplication.pathMappings, com.quadcap.http.server22.HttpDispatcher.setPathInfo(), com.quadcap.http.server22.HttpDispatcher.setServlet(), and com.quadcap.http.server22.WebApplication.toString().

Referenced by com.quadcap.http.server22.WebApplication.getServletForRequest().

Enumeration com.quadcap.http.server22.WebApplication.getServletNames  ) 
 

Deprecated:
in 2.2

Definition at line 626 of file WebApplication.java.

Enumeration com.quadcap.http.server22.WebApplication.getServlets  ) 
 

Deprecated:
in 2.2

Definition at line 633 of file WebApplication.java.

HSession com.quadcap.http.server22.WebApplication.getSession String  sessionId  ) 
 

Returns the session bound to the specified session ID.

Parameters:
sessionID the ID of a particular session object
Returns:
the session name. Returns null if the session ID does not refer to a valid session.

Definition at line 525 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.getSession(), and com.quadcap.http.server22.WebApplication.sessions.

Referenced by com.quadcap.http.server22.HttpRequest.getRequestedSessionId(), com.quadcap.http.server22.WebApplication.getSession(), com.quadcap.http.server22.HttpRequest.getSession(), com.quadcap.http.server22.HttpRequest.isRequestedSessionIdValid(), and com.quadcap.http.server22.WebApplication.shutdown().

int com.quadcap.http.server22.WebApplication.getSessionTimeout  ) 
 

Definition at line 324 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.sessionTimeout.

WebServer com.quadcap.http.server22.WebApplication.getWebServer  ) 
 

Definition at line 682 of file WebApplication.java.

List com.quadcap.http.server22.WebApplication.getWelcomeFiles  ) 
 

Definition at line 260 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.welcomeFiles.

Referenced by com.quadcap.http.server22.WebApplication.resolveDirectory().

void com.quadcap.http.server22.WebApplication.init WebServer  server,
String  root,
Directory  dir
throws ServletException, IOException
 

Definition at line 142 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.attributes, com.quadcap.http.server22.WebApplication.classLoader, com.quadcap.http.server22.WebApplication.exactMappings, com.quadcap.http.server22.WebApplication.extMappings, com.quadcap.io.dir.Entry.getInputStream(), com.quadcap.http.server22.WebServer.getTempDir(), com.quadcap.http.server22.WebClassLoader.init(), com.quadcap.http.server22.WebApplication.init(), com.quadcap.http.server22.WebApplication.loadInitialServlets(), com.quadcap.http.server22.WebApplication.parseDeploymentDescriptor(), com.quadcap.http.server22.WebApplication.pathMappings, com.quadcap.http.server22.WebApplication.resolveServlets(), com.quadcap.http.server22.WebApplication.server, com.quadcap.http.server22.WebApplication.setAttribute(), com.quadcap.http.server22.WebApplication.setDisplayName(), and com.quadcap.http.server22.WebApplication.toString().

Referenced by com.quadcap.http.server22.WebServer.addWebApplication(), and com.quadcap.http.server22.WebApplication.init().

boolean com.quadcap.http.server22.WebApplication.isDirectory String  d  ) 
 

Definition at line 686 of file WebApplication.java.

Referenced by com.quadcap.http.server22.HttpDispatcher.service().

final void com.quadcap.http.server22.WebApplication.loadInitialServlets  )  throws ServletException [package]
 

Definition at line 653 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.servlets.

Referenced by com.quadcap.http.server22.WebApplication.init().

void com.quadcap.http.server22.WebApplication.log String  msg,
Throwable  e
 

Write the stack backtrace for the exception and the specified message to the server's log file.

Parameters:
e the exception
msg the message

Definition at line 611 of file WebApplication.java.

void com.quadcap.http.server22.WebApplication.log Exception  e,
String  msg
 

Write the stack backtrace for the exception and the specified message to the server's log file.

Parameters:
e the exception
msg the message
Deprecated:

Definition at line 599 of file WebApplication.java.

void com.quadcap.http.server22.WebApplication.log String  msg  ) 
 

Writes a message to the server's log file.

Parameters:
msg the message

Definition at line 587 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.log().

Referenced by com.quadcap.http.server22.WebApplication.log().

void com.quadcap.http.server22.WebApplication.parseDeploymentDescriptor Reader  r  )  throws ServletException, IOException [package]
 

Definition at line 225 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.parseDeploymentDescriptor().

Referenced by com.quadcap.http.server22.WebApplication.init(), and com.quadcap.http.server22.WebApplication.parseDeploymentDescriptor().

void com.quadcap.http.server22.WebApplication.removeAttribute String  name  ) 
 

Definition at line 369 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.attributes, and com.quadcap.http.server22.WebApplication.removeAttribute().

Referenced by com.quadcap.http.server22.WebApplication.removeAttribute().

void com.quadcap.http.server22.WebApplication.removeSession HSession  session  )  [package]
 

Definition at line 531 of file WebApplication.java.

References com.quadcap.http.server22.HSession.getId(), com.quadcap.http.server22.WebApplication.removeSession(), and com.quadcap.http.server22.WebApplication.sessions.

Referenced by com.quadcap.http.server22.HSession.invalidate(), and com.quadcap.http.server22.WebApplication.removeSession().

String com.quadcap.http.server22.WebApplication.resolveDirectory String  path  )  [package]
 

If a URI refers to a directory, use the welcome file list to find a resource in the directory to serve.

Return the name of the file if found, otherwise, simply return the original directory name.

Definition at line 478 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.docRoot, com.quadcap.http.server22.WebApplication.getWelcomeFiles(), com.quadcap.io.dir.Entry.isDirectory(), and com.quadcap.http.server22.WebApplication.resolveDirectory().

Referenced by com.quadcap.http.server22.HttpDispatcher.HttpDispatcher(), and com.quadcap.http.server22.WebApplication.resolveDirectory().

final void com.quadcap.http.server22.WebApplication.resolveServlets Hashtable  t  )  [package]
 

Definition at line 208 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.resolveServlets(), and com.quadcap.http.server22.WebApplication.servlets.

Referenced by com.quadcap.http.server22.WebApplication.init(), and com.quadcap.http.server22.WebApplication.resolveServlets().

void com.quadcap.http.server22.WebApplication.setAttribute String  name,
Object  val
 

Definition at line 365 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.attributes, and com.quadcap.http.server22.WebApplication.setAttribute().

Referenced by com.quadcap.http.server22.WebApplication.init(), and com.quadcap.http.server22.WebApplication.setAttribute().

void com.quadcap.http.server22.WebApplication.setDisplayName String  name  ) 
 

Definition at line 236 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.setDisplayName().

Referenced by com.quadcap.http.server22.DDParser.endElement(), com.quadcap.http.server22.WebApplication.init(), and com.quadcap.http.server22.WebApplication.setDisplayName().

void com.quadcap.http.server22.WebApplication.setErrorPage String  errorPage  ) 
 

Definition at line 349 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.setErrorPage().

Referenced by com.quadcap.http.server22.DDParser.endElement(), and com.quadcap.http.server22.WebApplication.setErrorPage().

void com.quadcap.http.server22.WebApplication.setSessionTimeout int  timeout  ) 
 

Definition at line 320 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.setSessionTimeout().

Referenced by com.quadcap.http.server22.DDParser.endElement(), and com.quadcap.http.server22.WebApplication.setSessionTimeout().

void com.quadcap.http.server22.WebApplication.shutdown  ) 
 

Definition at line 192 of file WebApplication.java.

References com.quadcap.http.server22.WebApplication.docRoot, com.quadcap.http.server22.WebApplication.getSession(), com.quadcap.http.server22.HSession.invalidate(), and com.quadcap.http.server22.WebApplication.sessions.

Referenced by com.quadcap.http.server22.WebServer.removeWebApplication().

String com.quadcap.http.server22.WebApplication.toString  ) 
 

Definition at line 695 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.addMimeMapping(), com.quadcap.http.server22.WebApplication.addServlet(), com.quadcap.http.server22.WebApplication.getServletForRequest(), and com.quadcap.http.server22.WebApplication.init().


Member Data Documentation

Hashtable com.quadcap.http.server22.WebApplication.attributes = new Hashtable() [package]
 

Servlet context attributes.

Definition at line 102 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.getAttribute(), com.quadcap.http.server22.WebApplication.getAttributeNames(), com.quadcap.http.server22.WebApplication.init(), com.quadcap.http.server22.WebApplication.removeAttribute(), and com.quadcap.http.server22.WebApplication.setAttribute().

WebClassLoader com.quadcap.http.server22.WebApplication.classLoader [package]
 

Definition at line 86 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.getClassLoader(), com.quadcap.http.server22.WebApplication.getContextClassPath(), and com.quadcap.http.server22.WebApplication.init().

String com.quadcap.http.server22.WebApplication.contextPath [package]
 

Definition at line 87 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.getContextPath(), and com.quadcap.http.server22.HttpDispatcher.HttpDispatcher().

WebServlet com.quadcap.http.server22.WebApplication.defaultServlet = null [package]
 

Definition at line 116 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.addServletMapping(), and com.quadcap.http.server22.WebApplication.getServletForRequest().

String com.quadcap.http.server22.WebApplication.displayName = "" [package]
 

Definition at line 133 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.getDisplayName().

Directory com.quadcap.http.server22.WebApplication.docRoot [package]
 

My document root.

Definition at line 131 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.getRealPath(), com.quadcap.http.server22.WebApplication.getResource(), com.quadcap.http.server22.WebApplication.resolveDirectory(), and com.quadcap.http.server22.WebApplication.shutdown().

String com.quadcap.http.server22.WebApplication.errorPage = null [package]
 

Error page.

Definition at line 126 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.getErrorPage().

Hashtable com.quadcap.http.server22.WebApplication.exactMappings = new Hashtable() [package]
 

Definition at line 114 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.addServletMapping(), com.quadcap.http.server22.WebApplication.getServletForRequest(), and com.quadcap.http.server22.WebApplication.init().

Hashtable com.quadcap.http.server22.WebApplication.extMappings = new Hashtable() [package]
 

Definition at line 113 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.addServletMapping(), com.quadcap.http.server22.WebApplication.getServletForRequest(), and com.quadcap.http.server22.WebApplication.init().

Properties com.quadcap.http.server22.WebApplication.initParams = new Properties() [package]
 

Definition at line 138 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.addInitParam(), com.quadcap.http.server22.WebApplication.getInitParameter(), and com.quadcap.http.server22.WebApplication.getInitParameterNames().

Hashtable com.quadcap.http.server22.WebApplication.mimeTypes = new Hashtable() [package]
 

Mime types.

Definition at line 107 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.addMimeMapping(), and com.quadcap.http.server22.WebApplication.getMimeType().

Hashtable com.quadcap.http.server22.WebApplication.pathMappings = new Hashtable() [package]
 

Path mappings.

Definition at line 112 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.addServletMapping(), com.quadcap.http.server22.WebApplication.getServletForRequest(), and com.quadcap.http.server22.WebApplication.init().

WebServer com.quadcap.http.server22.WebApplication.server [package]
 

Definition at line 85 of file WebApplication.java.

Referenced by com.quadcap.http.server22.WebApplication.createSession(), com.quadcap.http.server22.WebApplication.getContext(), com.quadcap.http.server22.WebApplication.getMimeType(), and com.quadcap.http.server22.WebApplication.init().