com.aelitis.azureus.util
Class LocalResourceHTTPServer

java.lang.Object
  extended by com.aelitis.azureus.util.LocalResourceHTTPServer
All Implemented Interfaces:
TrackerWebPageGenerator

public class LocalResourceHTTPServer
extends Object
implements TrackerWebPageGenerator


Constructor Summary
LocalResourceHTTPServer(PluginInterface _plugin_interface, LoggerChannel _logger)
           
 
Method Summary
 boolean generate(TrackerWebPageRequest request, TrackerWebPageResponse response)
           
 URL publishResource(File resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalResourceHTTPServer

public LocalResourceHTTPServer(PluginInterface _plugin_interface,
                               LoggerChannel _logger)
                        throws Exception
Throws:
Exception
Method Detail

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