public static interface HttpClient.Response
| Modifier and Type | Method and Description |
|---|---|
String |
getHeader(CharSequence name)
Returns the first value of the specified response header.
|
String |
getResponseBody(Charset charset)
Returns the entire response body as a String using the specified charset.
|
int |
getStatusCode()
Returns the HTTP status code for the response.
|
int getStatusCode()
String getResponseBody(Charset charset)
charset - the charset to use when decoding the response body.String getHeader(CharSequence name)
name - the header name (case-insensitive).null if the header is not present.Copyright © 2026 lettuce.io. All rights reserved.