prupp
Class FileSender

java.lang.Object
  |
  +--prupp.FileSender

public class FileSender
extends java.lang.Object
implements MetaHandler

A class to send files from the htdocs directory. This makes RabbIT act as a very simple web server.


Constructor Summary
FileSender()
           
 
Method Summary
 void handle(java.io.DataInputStream input, java.io.DataOutputStream output, java.net.URL url, java.util.Properties htab, java.lang.String uap)
          handler of a MetaPage, that is a special page the proxy supports (like the status page).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSender

public FileSender()
Method Detail

handle

public void handle(java.io.DataInputStream input,
                   java.io.DataOutputStream output,
                   java.net.URL url,
                   java.util.Properties htab,
                   java.lang.String uap)
handler of a MetaPage, that is a special page the proxy supports (like the status page).
Specified by:
handle in interface MetaHandler
Parameters:
input - the InputStream from the client.
output - the OutputStream to the client.
url - the requested url.
htab - the supplied argument to the page (CGI-parameters).
uap - the username and paswword as by Basic-authentication