public static class HttpResponse.Builder extends HttpMessage.Builder
headers, payload
Constructor and Description |
---|
HttpResponse.Builder() |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
build() |
static HttpResponse.Builder |
from(HttpResponse input) |
HttpResponse.Builder |
headers(com.google.common.collect.Multimap<String,String> headers) |
HttpResponse.Builder |
message(String message) |
HttpResponse.Builder |
payload(Payload payload) |
HttpResponse.Builder |
statusCode(int statusCode) |
from
public HttpResponse.Builder message(String message)
public HttpResponse.Builder statusCode(int statusCode)
public HttpResponse.Builder payload(Payload payload)
payload
in class HttpMessage.Builder
public HttpResponse.Builder headers(com.google.common.collect.Multimap<String,String> headers)
headers
in class HttpMessage.Builder
public HttpResponse build()
build
in class HttpMessage.Builder
public static HttpResponse.Builder from(HttpResponse input)
Copyright © 2009-2012 jclouds. All Rights Reserved.