All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigsaw.pics.LabelBureauFrame

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.PostableFrame
                                                           |
                                                           +----org.w3c.jigsaw.pics.LabelBureauFrame

public class LabelBureauFrame
extends PostableFrame

Variable Index

 o labelb

Constructor Index

 o LabelBureauFrame()

Method Index

 o handle(Request, URLDecoder)
Handle the request.
 o parseFormat(Request, String)
Get the integer code for the String based PICS format.
 o parseURLs(String[])
Parse the URLs given in the URLDecoder, as the u field.
 o registerResource(FramedResource)
Register our resource.

Variables

 o labelb
 protected LabelBureauResource labelb

Constructors

 o LabelBureauFrame
 public LabelBureauFrame()

Methods

 o registerResource
 public void registerResource(FramedResource resource)
Register our resource. Must be an instance of ServletWrapper.

Overrides:
registerResource in class HTTPFrame
 o parseURLs
 protected String[] parseURLs(String us[])
Parse the URLs given in the URLDecoder, as the u field. This method just unquote any quoted URLs, before sending them back.

Parameters:
data - The URLDecoder to get data from.
Returns:
An array of String, properly parsed.
 o parseFormat
 protected int parseFormat(Request request,
                           String format) throws HTTPException
Get the integer code for the String based PICS format.

Parameters:
request - The request to be handled.
format - The string representation of the format.
Returns:
An LabelBureauInterface defined format code.
Throws: HTTPException
if processing the request failed.
See Also:
LabelBureauInterface
 o handle
 public Reply handle(Request request,
                     URLDecoder data) throws ProtocolException
Handle the request.

Parameters:
request - The request to be handled.
data - The URLDecoder
Returns:
A Reply instance.
Throws: ProtocolException
if processing the request failed.
Overrides:
handle in class PostableFrame
See Also:
LabelBureauInterface

All Packages  Class Hierarchy  This Package  Previous  Next  Index