|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrabbit.meta.SimpleHandler
public abstract class SimpleHandler
A base class for simple meta pages.
Constructor Summary | |
---|---|
SimpleHandler()
default constructor |
Method Summary | |
---|---|
abstract java.lang.String |
getMark()
Get the mark. |
void |
handle(java.io.InputStream input,
MultiOutputStream output,
HTTPHeader header,
java.util.Properties htab,
Connection con)
handler of a MetaPage, that is a special page the proxy supports (like the status page). |
abstract void |
handleData(Connection con,
java.lang.String data)
Handle the user data. |
abstract void |
sendPage(MultiOutputStream output,
Connection con)
Send the response page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleHandler()
Method Detail |
---|
public void handle(java.io.InputStream input, MultiOutputStream output, HTTPHeader header, java.util.Properties htab, Connection con)
handle
in interface MetaHandler
input
- the InputStream from the client.output
- the OutputStream to the client.header
- the http request headerhtab
- the supplied argument to the page (CGI-parameters).con
- the Connection that is serving the request.public abstract java.lang.String getMark()
public abstract void handleData(Connection con, java.lang.String data)
con
- the Connection doing the transaction.data
- the url decoded data.public abstract void sendPage(MultiOutputStream output, Connection con)
output
- the stream to send the page oncon
- the Connection handling the request
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |