public static class HttpRequest.Builder extends HttpMessage.Builder
Modifier and Type | Field and Description |
---|---|
protected URI |
endpoint |
protected String |
method |
protected List<HttpRequestFilter> |
requestFilters |
protected char[] |
skips |
headers, payload
Constructor and Description |
---|
HttpRequest.Builder() |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
build() |
HttpRequest.Builder |
endpoint(URI endpoint) |
HttpRequest.Builder |
filters(List<HttpRequestFilter> requestFilters) |
static HttpRequest.Builder |
from(HttpRequest input) |
HttpRequest.Builder |
headers(com.google.common.collect.Multimap<String,String> headers) |
HttpRequest.Builder |
method(String method) |
HttpRequest.Builder |
payload(Payload payload) |
HttpRequest.Builder |
skips(char[] skips) |
from
protected String method
protected URI endpoint
protected char[] skips
protected List<HttpRequestFilter> requestFilters
public HttpRequest.Builder filters(List<HttpRequestFilter> requestFilters)
public HttpRequest.Builder method(String method)
public HttpRequest.Builder endpoint(URI endpoint)
public HttpRequest.Builder skips(char[] skips)
public HttpRequest.Builder payload(Payload payload)
payload
in class HttpMessage.Builder
public HttpRequest.Builder headers(com.google.common.collect.Multimap<String,String> headers)
headers
in class HttpMessage.Builder
public HttpRequest build()
build
in class HttpMessage.Builder
public static HttpRequest.Builder from(HttpRequest input)
Copyright © 2009-2012 jclouds. All Rights Reserved.