public class FileDownloadFilter
extends java.lang.Object
implements com.browserup.bup.filters.ResponseFilter
| Constructor and Description |
|---|
FileDownloadFilter(Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activate this filter.
|
void |
deactivate()
Deactivate this filter.
|
java.lang.String |
downloadedFilesAsString() |
void |
filterResponse(io.netty.handler.codec.http.HttpResponse response,
com.browserup.bup.util.HttpMessageContents contents,
com.browserup.bup.util.HttpMessageInfo messageInfo) |
java.util.List<DownloadedFile> |
getDownloadedFiles() |
java.util.List<DownloadedFile> |
getDownloadedFiles(FileFilter fileFilter) |
void |
reset() |
java.lang.String |
responsesAsString() |
public FileDownloadFilter(Config config)
public void activate()
public void reset()
public void deactivate()
public void filterResponse(io.netty.handler.codec.http.HttpResponse response,
com.browserup.bup.util.HttpMessageContents contents,
com.browserup.bup.util.HttpMessageInfo messageInfo)
filterResponse in interface com.browserup.bup.filters.ResponseFilterpublic java.util.List<DownloadedFile> getDownloadedFiles()
public java.util.List<DownloadedFile> getDownloadedFiles(FileFilter fileFilter)
public java.lang.String responsesAsString()
public java.lang.String downloadedFilesAsString()