|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rabbit.meta.FileSender
public class FileSender
A file resource handler.
Constructor Summary | |
---|---|
FileSender()
|
Method Summary | |
---|---|
void |
failed(Exception e)
Reading failed |
void |
handle(HttpHeader request,
SProperties htab,
Connection con,
TrafficLogger tlProxy,
TrafficLogger tlClient)
Handle a client request. |
void |
httpHeaderSent()
The http header has been sent. |
void |
timeout()
The operation timed out |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileSender()
Method Detail |
---|
public void handle(HttpHeader request, SProperties htab, Connection con, TrafficLogger tlProxy, TrafficLogger tlClient) throws IOException
MetaHandler
handle
in interface MetaHandler
request
- the http request header.htab
- the supplied argument to the page (CGI-parameters).con
- the Connection that is serving the request.tlProxy
- the TrafficLogger to log proxy traffic on.tlClient
- the TrafficLogger to log client traffic on.
IOException
public void httpHeaderSent()
HttpHeaderSentListener
httpHeaderSent
in interface HttpHeaderSentListener
public void failed(Exception e)
AsyncListener
failed
in interface AsyncListener
e
- the real reason the operation failed.public void timeout()
AsyncListener
timeout
in interface AsyncListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |