Class DaprHttp.Response

  • Enclosing class:
    DaprHttp

    public static class DaprHttp.Response
    extends Object
    • Constructor Detail

      • Response

        public Response​(byte[] body,
                        Map<String,​String> headers,
                        int statusCode)
        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 Detail

      • getBody

        public byte[] getBody()
      • getStatusCode

        public int getStatusCode()