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