org.jclouds.http
Class HttpResponse.Builder
java.lang.Object
org.jclouds.http.HttpMessage.Builder<HttpResponse>
org.jclouds.http.HttpResponse.Builder
- Enclosing class:
- HttpResponse
public static class HttpResponse.Builder
- extends HttpMessage.Builder<HttpResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpResponse.Builder
public HttpResponse.Builder()
message
public HttpResponse.Builder message(String message)
statusCode
public HttpResponse.Builder statusCode(int statusCode)
payload
public HttpResponse.Builder payload(Payload payload)
- Overrides:
payload
in class HttpMessage.Builder<HttpResponse>
headers
public HttpResponse.Builder headers(com.google.common.collect.Multimap<String,String> headers)
- Overrides:
headers
in class HttpMessage.Builder<HttpResponse>
build
public HttpResponse build()
- Overrides:
build
in class HttpMessage.Builder<HttpResponse>
from
public static HttpResponse.Builder from(HttpResponse input)
Copyright © 2009-2011 jclouds. All Rights Reserved.