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