All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.jigsaw.proxy.MirrorFrame
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.proxy.ForwardFrame
|
+----org.w3c.jigsaw.proxy.MirrorFrame
- public class MirrorFrame
- extends ForwardFrame
-
ATTR_MIRRORS
- Attribute index - The site we are mirroring.
-
mirrors
-
-
MirrorFrame()
-
-
dupReply(Request, Reply)
- Duplicate the given client side reply into a server side one.
-
dupRequest(Request)
- Duplicate a server side request into a client side request.
-
getMirrors()
- Get the mirrors site attribute value.
-
initialize(Object[])
- Initialize the frames of that framed resource.
-
lookupOther(LookupState, LookupResult)
- Lookup for a mirrored resource.
-
setValue(int, Object)
- Catch assignment to the mirror attribute, to update our cached URL.
ATTR_MIRRORS
protected static int ATTR_MIRRORS
- Attribute index - The site we are mirroring.
mirrors
protected URL mirrors
MirrorFrame
public MirrorFrame()
getMirrors
public String getMirrors()
- Get the mirrors site attribute value.
- Returns:
- The String encoded URL of the site we are mirroring here.
setValue
public void setValue(int idx,
Object value)
- Catch assignment to the mirror attribute, to update our cached URL.
- Parameters:
- idx - The slot to set.
- value - It's new value.
- Overrides:
- setValue in class HTTPFrame
dupReply
protected Reply dupReply(Request request,
Reply rep) throws HTTPException, IOException
- Duplicate the given client side reply into a server side one.
- Overrides:
- dupReply in class ForwardFrame
dupRequest
protected Request dupRequest(Request request) throws HTTPException, IOException
- Duplicate a server side request into a client side request.
- Overrides:
- dupRequest in class ForwardFrame
lookupOther
public boolean lookupOther(LookupState ls,
LookupResult lr) throws ProtocolException
- Lookup for a mirrored resource.
- Parameters:
- request - The request whose URI is to be looked up.
- Overrides:
- lookupOther in class HTTPFrame
initialize
public void initialize(Object values[])
- Initialize the frames of that framed resource.
- Overrides:
- initialize in class ForwardFrame
All Packages Class Hierarchy This Package Previous Next Index