public interface Response
Modifier and Type | Method and Description |
---|---|
@NotNull String |
getBaseUrl()
Returns the base form of the url used in this request.
|
byte[] |
getContent()
Returns raw content of the response.
|
@NotNull org.apache.http.entity.ContentType |
getContentType()
Returns the content type of the content fetched.
|
@NotNull org.apache.http.Header[] |
getHeaders()
Returns the headers that were used to trigger this response.
|
org.apache.http.HttpHost |
getProxy()
Returns the proxy that was used to trigger this response.
|
int |
getStatusCode()
Returns status code of the response.
|
@NotNull Validator |
getValidator()
Returns the instance of validator used to validate this response.
|
int getStatusCode()
byte[] getContent()
@NotNull @NotNull org.apache.http.entity.ContentType getContentType()
This is provided by the server or guessed by the server or an amalgamation of both.
@NotNull @NotNull org.apache.http.Header[] getHeaders()
@NotNull @NotNull String getBaseUrl()
@Nullable org.apache.http.HttpHost getProxy()
@NotNull @NotNull Validator getValidator()
Copyright © 2018. All rights reserved.