public interface ClientResponse
HttpClient instance.| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBody()
Gets the body content of the response.
|
Headers |
getHeaders() |
HttpStatus |
getStatus() |
HttpStatus getStatus()
HttpStatus for this responseHeaders getHeaders()
Headers object representing the HTTP header fields for this response.
Invocation of any mutators on the Headers field will trigger an
UnsupportedOperationException.byte[] getBody()
For the sake of performance, the returned array is not a copy of the internally maintained array. Users of this class must not modify the returned array.
Copyright 2023 Ping Identity Corp. All rights reserved.