FileDocCategorySizeDatePackage
TrackerWebPageResponse.javaAPI DocAzureus 3.0.3.41961Mon Jun 07 13:44:24 BST 2004org.gudy.azureus2.plugins.tracker.web

TrackerWebPageResponse

public interface TrackerWebPageResponse
author
parg

Fields Summary
Constructors Summary
Methods Summary
public java.io.OutputStreamgetOutputStream()

public voidsetContentType(java.lang.String type)

public voidsetExpires(long time)

public voidsetHeader(java.lang.String name, java.lang.String value)

public voidsetLastModified(long time)

public voidsetReplyStatus(int status)

public booleanuseFile(java.lang.String root_dir, java.lang.String relative_url)
use a file contents as the response. returns true of loaded ok, false if doesn't exist exception if error occurred during processing.

param
root_dir e.g. c:\temp\parp or /tmp/trout/
param
relative_url e.g. /here/there/wibble.html
return
throws
IOException

public voiduseStream(java.lang.String file_type, java.io.InputStream stream)

public voidwriteTorrent(TrackerTorrent torrent)