@Deprecated public class FetchedResult extends Object
Constructor and Description |
---|
FetchedResult(String baseUrl,
String redirectedUrl,
long fetchTime,
org.apache.tika.metadata.Metadata headers,
byte[] content,
String contentType,
int responseRate,
Payload payload,
String newBaseUrl,
int numRedirects,
String hostAddress,
int statusCode,
String reasonPhrase)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getBaseUrl()
Deprecated.
|
byte[] |
getContent()
Deprecated.
|
int |
getContentLength()
Deprecated.
|
String |
getContentType()
Deprecated.
|
String |
getFetchedUrl()
Deprecated.
|
long |
getFetchTime()
Deprecated.
|
org.apache.tika.metadata.Metadata |
getHeaders()
Deprecated.
|
String |
getHostAddress()
Deprecated.
|
String |
getNewBaseUrl()
Deprecated.
|
int |
getNumRedirects()
Deprecated.
|
Payload |
getPayload()
Deprecated.
|
String |
getReasonPhrase()
Deprecated.
|
int |
getResponseRate()
Deprecated.
|
int |
getStatusCode()
Deprecated.
|
String |
report()
Deprecated.
Produces a neat report containing everything from a
FetchedResult
. |
void |
setPayload(Payload payload)
Deprecated.
|
public FetchedResult(String baseUrl, String redirectedUrl, long fetchTime, org.apache.tika.metadata.Metadata headers, byte[] content, String contentType, int responseRate, Payload payload, String newBaseUrl, int numRedirects, String hostAddress, int statusCode, String reasonPhrase)
public Payload getPayload()
public void setPayload(Payload payload)
public String getBaseUrl()
public String getFetchedUrl()
public long getFetchTime()
public byte[] getContent()
public int getContentLength()
public String getContentType()
public int getResponseRate()
public org.apache.tika.metadata.Metadata getHeaders()
public String getNewBaseUrl()
public int getNumRedirects()
public String getHostAddress()
public int getStatusCode()
public String getReasonPhrase()
public String report()
FetchedResult
. The order of the report is based on the logical population of
FetchedReport entities as per a non-public algorithm within
SimpleHttpFetcher
.Copyright © 2009–2016 Crawler-Commons. All rights reserved.