Package io.confluent.ksql.api.client
Interface Client.HttpResponse
- Enclosing interface:
Client
public static interface Client.HttpResponse
-
Method Summary
-
Method Details
-
status
int status()- Returns:
- the status code of the HTTP response.
-
body
byte[] body()- Returns:
- response payload as a byte array.
-
bodyAsMap
Parse and return JSON response as aMap
.- Type Parameters:
T
- the type of the values in the returned map.- Returns:
- the parsed response
- Throws:
KsqlClientException
- if response could not be parsed.
-