All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigsaw.servlet.ServletDirectoryFrame

java.lang.Object
   |
   +----org.w3c.tools.resources.AttributeHolder
           |
           +----org.w3c.tools.resources.Resource
                   |
                   +----org.w3c.tools.resources.FramedResource
                           |
                           +----org.w3c.tools.resources.ResourceFrame
                                   |
                                   +----org.w3c.tools.resources.ProtocolFrame
                                           |
                                           +----org.w3c.jigsaw.frames.HTTPFrame
                                                   |
                                                   +----org.w3c.jigsaw.servlet.ServletDirectoryFrame

public class ServletDirectoryFrame
extends HTTPFrame

Variable Index

 o servletContext
The servlet Context.
 o sessionContext
The Session Context.

Constructor Index

 o ServletDirectoryFrame()

Method Index

 o getAttribute(String)
ServletContext implementation - Get an attribute value.
 o getJigsawHttpSessionContext()
 o getServerInfo()
ServletContext implementation - Get server informations.
 o getServlet(String)
ServletContext implementation - Lookup a given servlet.
 o getServletNames()
ServletContext implementation - Enumerate all servlets names within context.
 o getServletProps()
 o getServlets()
ServletContext implementation - Enumerate all servlets within context.
 o registerResource(FramedResource)
Register the resource and add ServletProperties in httpd.
 o updateDefaultChildAttributes(Hashtable)
We add a context attribute to all our children.

Variables

 o servletContext
 protected JigsawServletContext servletContext
The servlet Context.

 o sessionContext
 protected JigsawHttpSessionContext sessionContext
The Session Context.

Constructors

 o ServletDirectoryFrame
 public ServletDirectoryFrame()

Methods

 o registerResource
 public void registerResource(FramedResource resource)
Register the resource and add ServletProperties in httpd.

Parameters:
resource - The resource to register.
Overrides:
registerResource in class HTTPFrame
 o getServlet
 public Servlet getServlet(String name)
ServletContext implementation - Lookup a given servlet.

 o getServlets
 public Enumeration getServlets()
ServletContext implementation - Enumerate all servlets within context.

 o getServletNames
 public Enumeration getServletNames()
ServletContext implementation - Enumerate all servlets names within context.

 o getServerInfo
 public String getServerInfo()
ServletContext implementation - Get server informations.

 o getAttribute
 public Object getAttribute(String name)
ServletContext implementation - Get an attribute value. We map this into the ServletWrapper attributes, without support for name clashes though.

Parameters:
name - The attribute name.
 o getJigsawHttpSessionContext
 protected JigsawHttpSessionContext getJigsawHttpSessionContext()
 o getServletProps
 protected ServletProps getServletProps()
 o updateDefaultChildAttributes
 protected void updateDefaultChildAttributes(Hashtable attrs)
We add a context attribute to all our children. The context attribute is any object implementing the ServletContext interface.

Overrides:
updateDefaultChildAttributes in class ResourceFrame

All Packages  Class Hierarchy  This Package  Previous  Next  Index