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.
-
ATTR_FOLLOWUP
- Attribute index - The default root (for unknown hosts)
-
followup
-
-
VirtualHostFrame()
-
-
getFollowup()
- Get the name of the resource used as a followup.
-
lookupFollowup()
- Lookup the followup resource.
-
lookupOther(LookupState, LookupResult)
- Lookup the target resource when associated with an unknown resource.
-
registerResource(FramedResource)
- Register this frame to the given resource.
ATTR_FOLLOWUP
protected static int ATTR_FOLLOWUP
- Attribute index - The default root (for unknown hosts)
followup
protected ResourceReference followup
VirtualHostFrame
public VirtualHostFrame()
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.
registerResource
public void registerResource(FramedResource resource)
- Register this frame to the given resource.
- Overrides:
- registerResource in class HTTPFrame
lookupFollowup
public synchronized ResourceReference lookupFollowup()
- Lookup the followup resource.
- Returns:
- The loaded resource for the current followup.
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