rabbit.meta
Class ProxyConfig

java.lang.Object
  extended by rabbit.meta.SimpleHandler
      extended by rabbit.meta.ProxyConfig
All Implemented Interfaces:
MetaHandler

public class ProxyConfig
extends SimpleHandler

A MetaPage that allows setting the cofig of the proxy.


Constructor Summary
ProxyConfig()
          default constructor
 
Method Summary
 java.lang.String getMark()
          Get the mark.
 void handleData(Connection con, java.lang.String data)
          Handle the user data.
 void sendPage(MultiOutputStream output, Connection con)
          Send the response page.
 
Methods inherited from class rabbit.meta.SimpleHandler
handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyConfig

public ProxyConfig()
default constructor

Method Detail

getMark

public java.lang.String getMark()
Description copied from class: SimpleHandler
Get the mark.

Specified by:
getMark in class SimpleHandler

handleData

public void handleData(Connection con,
                       java.lang.String data)
Description copied from class: SimpleHandler
Handle the user data.

Specified by:
handleData in class SimpleHandler
Parameters:
con - the Connection doing the transaction.
data - the url decoded data.

sendPage

public void sendPage(MultiOutputStream output,
                     Connection con)
Description copied from class: SimpleHandler
Send the response page.

Specified by:
sendPage in class SimpleHandler
Parameters:
output - the stream to send the page on
con - the Connection handling the request