    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

##

labelb

##

LabelBureauFrame()

##

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

##

labelb

     protected LabelBureauResource labelb

##

LabelBureauFrame

     public LabelBureauFrame()

##

registerResource

     public void registerResource(FramedResource resource)

  Register our resource. Must be an instance of ServletWrapper.

  Overrides:
    registerResource in class HTTPFrame

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.

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

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