public interface HttpClientResponse
HttpClientRequest
over a HttpClient
.
Is designed to be a basic HTTP/1.1 response. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6
NB: 'HttpClientResponse' used rather than 'Response' to avoid clashes with Response
.Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getCookies()
Retrieve any cookies sent with the accessed resource.
|
String |
getEntity()
Retrieve the entity sent with the accessed resource.
|
Map<String,String> |
getHeaders()
Retrieve the headers sent with the accessed resource.
|
String |
getReasonPhrase()
Retrieve the reason phrase of the accessed resource.
|
Integer |
getStatusCode()
Retrieve the status code of the accessed resource.
|
boolean |
hasCookies()
Indicates if the accessed resource had cookies.
|
boolean |
hasHeaders()
Indicates if the accessed resource has headers.
|
Integer getStatusCode()
String getReasonPhrase()
boolean hasHeaders()
Map<String,String> getHeaders()
String getEntity()
boolean hasCookies()
Copyright © 2010-2018, ForgeRock All Rights Reserved.