org.jclouds.rest.internal
Class GeneratedHttpRequest.Builder<T>

java.lang.Object
  extended by org.jclouds.http.HttpMessage.Builder
      extended by org.jclouds.http.HttpRequest.Builder
          extended by org.jclouds.rest.internal.GeneratedHttpRequest.Builder<T>
Enclosing class:
GeneratedHttpRequest<T>

public static class GeneratedHttpRequest.Builder<T>
extends HttpRequest.Builder


Field Summary
protected  List<Object> args
           
protected  Class<T> declaring
           
protected  Method javaMethod
           
 
Fields inherited from class org.jclouds.http.HttpRequest.Builder
endpoint, method, requestFilters, skips
 
Fields inherited from class org.jclouds.http.HttpMessage.Builder
headers, payload
 
Constructor Summary
GeneratedHttpRequest.Builder()
           
 
Method Summary
 GeneratedHttpRequest.Builder<T> args(List<Object> args)
           
 GeneratedHttpRequest.Builder<T> args(Object[] args)
           
 GeneratedHttpRequest<T> build()
           
 GeneratedHttpRequest.Builder<T> declaring(Class<T> declaring)
           
 GeneratedHttpRequest.Builder<T> endpoint(URI endpoint)
           
 GeneratedHttpRequest.Builder<T> filters(List<HttpRequestFilter> requestFilters)
           
static
<Y> GeneratedHttpRequest.Builder<Y>
from(GeneratedHttpRequest<Y> input)
           
static GeneratedHttpRequest.Builder<?> from(HttpRequest input)
           
static
<Y> GeneratedHttpRequest.Builder<Y>
fromRequest(HttpRequest input)
           
 GeneratedHttpRequest.Builder<T> headers(com.google.common.collect.Multimap<String,String> headers)
           
 GeneratedHttpRequest.Builder<T> javaMethod(Method javaMethod)
           
 GeneratedHttpRequest.Builder<T> method(String method)
           
 GeneratedHttpRequest.Builder<T> payload(Payload payload)
           
 GeneratedHttpRequest.Builder<T> 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

declaring

protected Class<T> declaring

javaMethod

protected Method javaMethod

args

protected List<Object> args
Constructor Detail

GeneratedHttpRequest.Builder

public GeneratedHttpRequest.Builder()
Method Detail

declaring

public GeneratedHttpRequest.Builder<T> declaring(Class<T> declaring)

javaMethod

public GeneratedHttpRequest.Builder<T> javaMethod(Method javaMethod)

args

public GeneratedHttpRequest.Builder<T> args(Object[] args)

args

public GeneratedHttpRequest.Builder<T> args(List<Object> args)

filters

public GeneratedHttpRequest.Builder<T> filters(List<HttpRequestFilter> requestFilters)
Overrides:
filters in class HttpRequest.Builder

method

public GeneratedHttpRequest.Builder<T> method(String method)
Overrides:
method in class HttpRequest.Builder

endpoint

public GeneratedHttpRequest.Builder<T> endpoint(URI endpoint)
Overrides:
endpoint in class HttpRequest.Builder

skips

public GeneratedHttpRequest.Builder<T> skips(char[] skips)
Overrides:
skips in class HttpRequest.Builder

payload

public GeneratedHttpRequest.Builder<T> payload(Payload payload)
Overrides:
payload in class HttpRequest.Builder

headers

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

build

public GeneratedHttpRequest<T> build()
Overrides:
build in class HttpRequest.Builder

from

public static GeneratedHttpRequest.Builder<?> from(HttpRequest input)

fromRequest

public static <Y> GeneratedHttpRequest.Builder<Y> fromRequest(HttpRequest input)

from

public static <Y> GeneratedHttpRequest.Builder<Y> from(GeneratedHttpRequest<Y> input)


Copyright © 2009-2012 jclouds. All Rights Reserved.