Package io.dapr.client
Class DaprHttp.Response
java.lang.Object
io.dapr.client.DaprHttp.Response
- Enclosing class:
- DaprHttp
public static class DaprHttp.Response extends Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description byte[]
getBody()
Map<String,String>
getHeaders()
int
getStatusCode()
-
Constructor Details
-
Response
Represents an http response.- Parameters:
body
- The body of the http response.headers
- The headers of the http response.statusCode
- The status code of the http response.
-
-
Method Details
-
getBody
public byte[] getBody() -
getHeaders
-
getStatusCode
public int getStatusCode()
-