com.holonplatform.http

## Interface HttpResponse.Builder<T>

- Type Parameters:
    `T` - Payload type
  Enclosing interface:
    HttpResponse<T>

      public static interface HttpResponse.Builder<T>

  Default HttpResponse builder.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `HttpResponse<T>` | `build()` Build the response
    `HttpResponse.Builder<T>` | `headers(Map<String,List<String>> headers)` Set response headers
    `HttpResponse.Builder<T>` | `payload(T payload)` Set response payload

- - ### Method Detail

    - #### headers

          HttpResponse.Builder<T> headers(Map<String,List<String>> headers)

      Set response headers
      Parameters:
        `headers` - the headers to set
      Returns:
        this

    - #### payload

          HttpResponse.Builder<T> payload(T payload)

      Set response payload
      Parameters:
        `payload` - the payload to set
      Returns:
        this

    - #### build

          HttpResponse<T> build()

      Build the response
      Returns:
        HttpResponse

Copyright © 2017 The Holon Platform. All rights reserved.