com.aelitis.azureus.util
Class LocalResourceHTTPServer
java.lang.Object
com.aelitis.azureus.util.LocalResourceHTTPServer
- All Implemented Interfaces:
- TrackerWebPageGenerator
public class LocalResourceHTTPServer
- extends Object
- implements TrackerWebPageGenerator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalResourceHTTPServer
public LocalResourceHTTPServer(PluginInterface _plugin_interface,
LoggerChannel _logger)
throws Exception
- Throws:
Exception
generate
public boolean generate(TrackerWebPageRequest request,
TrackerWebPageResponse response)
throws IOException
- Specified by:
generate
in interface TrackerWebPageGenerator
- Returns:
- true if the request was handled
- Throws:
IOException
publishResource
public URL publishResource(File resource)
throws Exception
- Throws:
Exception