All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigsaw.frames.VirtualHostFrame

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.frames.VirtualHostFrame

public class VirtualHostFrame
extends HTTPFrame
For Virtual Hosting.


Variable Index

 o ATTR_FOLLOWUP
Attribute index - The default root (for unknown hosts)
 o followup

Constructor Index

 o VirtualHostFrame()

Method Index

 o getFollowup()
Get the name of the resource used as a followup.
 o lookupFollowup()
Lookup the followup resource.
 o lookupOther(LookupState, LookupResult)
Lookup the target resource when associated with an unknown resource.
 o registerResource(FramedResource)
Register this frame to the given resource.

Variables

 o ATTR_FOLLOWUP
 protected static int ATTR_FOLLOWUP
Attribute index - The default root (for unknown hosts)

 o followup
 protected ResourceReference followup

Constructors

 o VirtualHostFrame
 public VirtualHostFrame()

Methods

 o getFollowup
 public String getFollowup()
Get the name of the resource used as a followup.

Returns:
A String giving the name of the resource to be used as the default.
 o registerResource
 public void registerResource(FramedResource resource)
Register this frame to the given resource.

Overrides:
registerResource in class HTTPFrame
 o lookupFollowup
 public synchronized ResourceReference lookupFollowup()
Lookup the followup resource.

Returns:
The loaded resource for the current followup.
 o lookupOther
 protected boolean lookupOther(LookupState ls,
                               LookupResult lr) throws ProtocolException
Lookup the target resource when associated with an unknown resource.

Parameters:
ls - The current lookup state
lr - The result
Returns:
true if lookup is done.
Throws: ProtocolException
If an error relative to the protocol occurs
Overrides:
lookupOther in class HTTPFrame

All Packages  Class Hierarchy  This Package  Previous  Next  Index