Package | Description |
---|---|
org.openstack4j.core.transport | |
org.openstack4j.openstack.internal |
Modifier and Type | Method and Description |
---|---|
static HttpRequest.RequestBuilder<Void> |
HttpRequest.builder()
A build for creating HttpRequest objects
|
static <R> HttpRequest.RequestBuilder<R> |
HttpRequest.builder(Class<R> returnType)
A build for creating HttpRequest objects
|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.config(Config config)
Sets a client configuration to use with this session
|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.contentType(String contentType)
Overrides the default content type for the request
|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.endpoint(String endpoint) |
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.endpointFunction(com.google.common.base.Function<String,String> endpointFunc)
A Function which allows manipulation of the endpoint depending on the service API utilizing it
|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.endpointTokenProvider(EndpointTokenProvider provider)
A Provider which will return the current Authorization Token
|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.entity(ModelEntity entity) |
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.entity(Payload<?> entity) |
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.header(String name,
Object value)
Adds a new Header to the request
|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.headers(Map<String,? extends Object> headers)
Pushes the Map of Headers into the existing headers for this request
|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.json(String json)
AdHoc JSON object to Post/Put
|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.method(HttpMethod method) |
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.methodDelete()
Flags the request method as DELETE
|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.methodGet()
Flags the request method as GET
|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.methodPost()
Flags the request method as POST
|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.methodPut()
Flags the request method as PUT
|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.path(String path) |
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.queryParam(String key,
Object value)
Adds a Key/Value based Query Param
|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.serviceType(ServiceType service)
The endpoint Service Type
|
HttpRequest.RequestBuilder<R> |
HttpRequest.toBuilder() |
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.updateQueryParam(String key,
Object value)
Updates a Key/Value based Query Param
|
Constructor and Description |
---|
Invocation(HttpRequest.RequestBuilder<R> req,
ServiceType serviceType,
com.google.common.base.Function<String,String> endpointFunc) |
Copyright © 2017. All rights reserved.