org.jclouds.http
Class HttpResponse.Builder
java.lang.Object
org.jclouds.http.HttpMessage.Builder
org.jclouds.http.HttpResponse.Builder
- Enclosing class:
- HttpResponse
public static class HttpResponse.Builder
- extends HttpMessage.Builder
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
headers
public HttpResponse.Builder headers(com.google.common.collect.Multimap<String,String> headers)
- Overrides:
headers
in class HttpMessage.Builder
build
public HttpResponse build()
- Overrides:
build
in class HttpMessage.Builder
from
public static HttpResponse.Builder from(HttpResponse input)
Copyright © 2009-2012 jclouds. All Rights Reserved.