-
public interface HttpResponseInfoRepresents information about an HTTP response.
-
-
Method Summary
Modifier and Type Method Description abstract StringgetUrl()Represents the URL associated with an HTTP response. abstract IntegergetStatusCode()Represents the HTTP status code associated with the response. abstract Map<String, List<String>>getHeaders()Represents the HTTP headers associated with a response. abstract StringgetContentType()Represents the MIME type of the payload associated with an HTTP response. abstract LonggetContentLength()Retrieves the content length from the response information. -
-
Method Detail
-
getStatusCode
abstract Integer getStatusCode()
Represents the HTTP status code associated with the response.
-
getHeaders
abstract Map<String, List<String>> getHeaders()
Represents the HTTP headers associated with a response.
-
getContentType
abstract String getContentType()
Represents the MIME type of the payload associated with an HTTP response.
-
getContentLength
abstract Long getContentLength()
Retrieves the content length from the response information.
-
-
-
-