Package org.jclouds.rest.internal
Class GeneratedHttpRequest
- java.lang.Object
-
- org.jclouds.http.internal.PayloadEnclosingImpl
-
- org.jclouds.http.HttpMessage
-
- org.jclouds.http.HttpRequest
-
- org.jclouds.rest.internal.GeneratedHttpRequest
-
- All Implemented Interfaces:
PayloadEnclosing
public final class GeneratedHttpRequest extends HttpRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeneratedHttpRequest.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.http.HttpRequest
NON_PAYLOAD_METHODS
-
Fields inherited from class org.jclouds.http.HttpMessage
headers
-
Fields inherited from class org.jclouds.http.internal.PayloadEnclosingImpl
payload
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GeneratedHttpRequest(String method, URI endpoint, com.google.common.collect.Multimap<String,String> headers, Payload payload, Iterable<HttpRequestFilter> filters, Invocation invocation, com.google.common.base.Optional<Invocation> caller)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeneratedHttpRequest.Builder
builder()
com.google.common.base.Optional<Invocation>
getCaller()
Invocation
getInvocation()
what was interpreted to create this requestGeneratedHttpRequest.Builder
toBuilder()
-
Methods inherited from class org.jclouds.http.HttpRequest
equals, getEndpoint, getFilters, getMethod, getRequestLine, hashCode, string
-
Methods inherited from class org.jclouds.http.HttpMessage
getFirstHeaderOrNull, getHeaders, toString
-
Methods inherited from class org.jclouds.http.internal.PayloadEnclosingImpl
getPayload, resetPayload, setPayload, setPayload, setPayload, setPayload, setPayload, setPayload
-
-
-
-
Constructor Detail
-
GeneratedHttpRequest
protected GeneratedHttpRequest(String method, URI endpoint, com.google.common.collect.Multimap<String,String> headers, @Nullable Payload payload, Iterable<HttpRequestFilter> filters, Invocation invocation, com.google.common.base.Optional<Invocation> caller)
-
-
Method Detail
-
builder
public static GeneratedHttpRequest.Builder builder()
-
toBuilder
public GeneratedHttpRequest.Builder toBuilder()
- Overrides:
toBuilder
in classHttpRequest
-
getInvocation
public Invocation getInvocation()
what was interpreted to create this request
-
getCaller
public com.google.common.base.Optional<Invocation> getCaller()
-
-