Package com.norconex.crawler.fs.fetch
Class AggregatedFileFetchResponse
java.lang.Object
com.norconex.crawler.core.fetch.AggregatedFetchResponse
com.norconex.crawler.fs.fetch.AggregatedFileFetchResponse
- All Implemented Interfaces:
FetchResponse,FileFetchResponse
public class AggregatedFileFetchResponse
extends AggregatedFetchResponse
implements FileFetchResponse
File System multi-response information obtained from fetching a document.
Getter methods return values from the last response.
- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.norconex.crawler.core.fetch.AggregatedFetchResponse
getException, getFetchResponses, getLastFetchResponse, getProcessingOutcome, getReasonPhrase, getStatusCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.norconex.crawler.core.fetch.FetchResponse
getException, getProcessingOutcome, getReasonPhrase, getStatusCode
-
Constructor Details
-
AggregatedFileFetchResponse
-
-
Method Details
-
isFile
public boolean isFile()Description copied from interface:FileFetchResponseWhether the fetched path is a file. Note that on some file systems, it is be possible for a path to represent both a file and folder (a parent file having child files).- Specified by:
isFilein interfaceFileFetchResponse- Returns:
trueif a file
-
isFolder
public boolean isFolder()Description copied from interface:FileFetchResponseWhether the fetched path a folder. Note that on some file systems, it is be possible for a path to represent both a file and folder (a parent file having child files).- Specified by:
isFolderin interfaceFileFetchResponse- Returns:
trueif a folder
-
equals
- Overrides:
equalsin classAggregatedFetchResponse
-
canEqual
- Overrides:
canEqualin classAggregatedFetchResponse
-
hashCode
public int hashCode()- Overrides:
hashCodein classAggregatedFetchResponse
-
toString
- Overrides:
toStringin classAggregatedFetchResponse
-