org.jclouds.http
Class HttpRequest.Builder

java.lang.Object
  extended by org.jclouds.http.HttpMessage.Builder
      extended by org.jclouds.http.HttpRequest.Builder
Direct Known Subclasses:
GeneratedHttpRequest.Builder
Enclosing class:
HttpRequest

public static class HttpRequest.Builder
extends HttpMessage.Builder


Field Summary
protected  URI endpoint
           
protected  String method
           
protected  List<HttpRequestFilter> requestFilters
           
protected  char[] skips
           
 
Fields inherited from class org.jclouds.http.HttpMessage.Builder
headers, payload
 
Constructor Summary
HttpRequest.Builder()
           
 
Method Summary
 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)
           
 
Methods inherited from class org.jclouds.http.HttpMessage.Builder
from
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

method

protected String method

endpoint

protected URI endpoint

skips

protected char[] skips

requestFilters

protected List<HttpRequestFilter> requestFilters
Constructor Detail

HttpRequest.Builder

public HttpRequest.Builder()
Method Detail

filters

public HttpRequest.Builder filters(List<HttpRequestFilter> requestFilters)

method

public HttpRequest.Builder method(String method)

endpoint

public HttpRequest.Builder endpoint(URI endpoint)

skips

public HttpRequest.Builder skips(char[] skips)

payload

public HttpRequest.Builder payload(Payload payload)
Overrides:
payload in class HttpMessage.Builder

headers

public HttpRequest.Builder headers(com.google.common.collect.Multimap<String,String> headers)
Overrides:
headers in class HttpMessage.Builder

build

public HttpRequest build()
Overrides:
build in class HttpMessage.Builder

from

public static HttpRequest.Builder from(HttpRequest input)


Copyright © 2009-2012 jclouds. All Rights Reserved.