Class HttpFetchClientResponse
java.lang.Object
com.norconex.collector.http.fetch.HttpFetchClientResponse
- All Implemented Interfaces:
IHttpFetchResponse
Hold HTTP response information obtained from fetching a document
using HttpFetchClient.
- Since:
- 3.0.0
- Author:
- Pascal Essiembre
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResponse(IHttpFetchResponse resp, IHttpFetcher fetcher) booleanintinthashCode()toString()
-
Constructor Details
-
HttpFetchClientResponse
public HttpFetchClientResponse()
-
-
Method Details
-
addResponse
-
getCrawlState
- Specified by:
getCrawlStatein interfaceIHttpFetchResponse
-
getStatusCode
public int getStatusCode()- Specified by:
getStatusCodein interfaceIHttpFetchResponse
-
getReasonPhrase
- Specified by:
getReasonPhrasein interfaceIHttpFetchResponse
-
getUserAgent
- Specified by:
getUserAgentin interfaceIHttpFetchResponse
-
getException
- Specified by:
getExceptionin interfaceIHttpFetchResponse
-
getRedirectTarget
- Specified by:
getRedirectTargetin interfaceIHttpFetchResponse
-
getResponses
-
equals
-
hashCode
public int hashCode() -
toString
-