    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

##

ATTR_SERVERS
  The servers used to connect
inUse
ircLogin
ircName
ircNick
osw

##

IRCFrame()

##

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

##

ATTR_SERVERS

     protected static int ATTR_SERVERS

  The servers used to connect

inUse

     protected boolean inUse

osw

     protected OutputStreamWriter osw

ircNick

     protected String ircNick

ircName

     protected String ircName

ircLogin

     protected String ircLogin

##

IRCFrame

     public IRCFrame()

##

getServerList

     public String[] getServerList()

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

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