Class DataCache.DocumentData
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.webcrawler.DataCache.DocumentData
-
- Enclosing class:
- DataCache
protected static class DataCache.DocumentData extends java.lang.ObjectThis class represents everything we need to know about a document that's getting passed from the getDocumentVersions() phase to the processDocuments() phase.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcontentTypeThe content-type header valueprotected java.io.FiledataThe cache file for the dataprotected java.lang.StringreferralURIThe referral URIprotected intresponseCodeThe response code
-
Constructor Summary
Constructors Constructor Description DocumentData(java.io.File data, int responseCode, java.lang.String contentType, java.lang.String referralURI)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContentType()Get the contentTypejava.io.FilegetData()Get the datajava.lang.StringgetReferralURI()Get the referral URIintgetResponseCode()Get the response code
-