All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigsaw.frames.IRCFrame

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

public class IRCFrame
extends PostableFrame

Variable Index

 o ATTR_SERVERS
The servers used to connect
 o inUse
 o ircLogin
 o ircName
 o ircNick
 o osw

Constructor Index

 o IRCFrame()

Method Index

 o get(Request)
Get this resource body.
 o getServerList()
 o handle(Request, URLDecoder)
Handle the form submission, after posted data parsing.

Variables

 o ATTR_SERVERS
 protected static int ATTR_SERVERS
The servers used to connect

 o inUse
 protected boolean inUse
 o osw
 protected OutputStreamWriter osw
 o ircNick
 protected String ircNick
 o ircName
 protected String ircName
 o ircLogin
 protected String ircLogin

Constructors

 o IRCFrame
 public IRCFrame()

Methods

 o getServerList
 public String[] getServerList()
 o get
 public Reply get(Request request) throws ProtocolException, ResourceException
Get this resource body. If we are allowed to convert GET requests to POST, than we first check to see if there is some search string in the request, and continue with normal POST request processing.

If there is no search string, or if we are not allowed to convert GETs to POSTs, than we just invoke our super method, which will perform the appropriate job.

Parameters:
request - The request to handle.
Throws: ProtocolException
If request couldn't be processed.
Overrides:
get in class PostableFrame
 o handle
 public Reply handle(Request request,
                     URLDecoder data) throws ProtocolException
Handle the form submission, after posted data parsing.

This method ought to be abstract, but for reasonable reason, it will just dump (parsed) the form content back to the client, so that it can be used for debugging.

Parameters:
request - The request proper.
data - The parsed data content.
Throws: ProtocolException
If form data processing failed.
Overrides:
handle in class PostableFrame
See Also:
URLDecoder

All Packages  Class Hierarchy  This Package  Previous  Next  Index