Class HttpClientFetchResponse
java.lang.Object
com.norconex.crawler.web.fetch.impl.httpclient.HttpClientFetchResponse
- All Implemented Interfaces:
FetchResponse,WebFetchResponse
HTTP response information obtained from fetching a document.
- Since:
- 4.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanintinthashCode()voidsetException(Exception exception) voidsetProcessingOutcome(ProcessingOutcome processingOutcome) voidsetReasonPhrase(String reasonPhrase) voidsetRedirectTarget(String redirectTarget) voidsetStatusCode(int statusCode) voidsetUserAgent(String userAgent) toString()
-
Method Details
-
builder
-
getProcessingOutcome
- Specified by:
getProcessingOutcomein interfaceFetchResponse
-
getStatusCode
public int getStatusCode()- Specified by:
getStatusCodein interfaceFetchResponse
-
getReasonPhrase
- Specified by:
getReasonPhrasein interfaceFetchResponse
-
getException
- Specified by:
getExceptionin interfaceFetchResponse
-
getUserAgent
- Specified by:
getUserAgentin interfaceWebFetchResponse
-
getRedirectTarget
- Specified by:
getRedirectTargetin interfaceWebFetchResponse
-
setProcessingOutcome
-
setStatusCode
public void setStatusCode(int statusCode) -
setReasonPhrase
-
setException
-
setUserAgent
-
setRedirectTarget
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-