gov.lbl.dsd.sea.demo
Class SimpleHTTPEventHandler
java.lang.Object
gov.lbl.dsd.sea.EventHandler
gov.lbl.dsd.sea.demo.SimpleHTTPEventHandler
- public class SimpleHTTPEventHandler
- extends EventHandler
Simple HTTP 1.1 handler with limited functionality;
Internally uses the raw commons-httpclient library.
- Version:
- $Revision: 1.1 $, $Date: 2004/05/29 19:24:57 $
Method Summary |
void |
handle(Object object)
Main entry point; called when an event handler should handle the given event. |
SimpleHTTPEventHandler
public SimpleHTTPEventHandler(Stage sink)
- Creates a handler that enqueues HTTP responses onto the given sink
- Parameters:
sink
- the sink to enqueue responses onto
SimpleHTTPEventHandler
public SimpleHTTPEventHandler(Stage sink,
HttpClient client)
handle
public void handle(Object object)
- Description copied from class:
EventHandler
- Main entry point; called when an event handler should handle the given event.
- Specified by:
handle
in class EventHandler