org.springframework.scala.web.client
Create a new instance of the RestTemplate
given the ClientHttpRequestFactory to obtain requests from
Create a new instance of the RestTemplate
given the ClientHttpRequestFactory to obtain requests from
HTTP request factory to use
Creates a RestTemplate
that wraps the given Java template, defaulting to the standard RestTemplate
Creates a RestTemplate
that wraps the given Java template, defaulting to the standard RestTemplate
the Java RestTemplate
to wrap
Delete the resources at the specified URL.
Delete the resources at the specified URL.
the URL
Delete the resources at the specified URI.
Delete the resources at the specified URI.
URI Template variables are expanded using the given map.
the URL
the variables to expand the template
Delete the resources at the specified URI.
Delete the resources at the specified URI.
URI Template variables are expanded using the given URI variables, if any.
the URL
the variables to expand in the template
Execute the HTTP method to the given URI template, writing the given request entity to the request, and
returns the response as ResponseEntity
.
Execute the HTTP method to the given URI template, writing the given request entity to the request, and
returns the response as ResponseEntity
.
the URL
the HTTP method (GET, POST, etc)
the entity (headers and/or body) to write to the request
the response as entity
Execute the HTTP method to the given URI template, writing the given request entity to the request, and
returns the response as ResponseEntity
.
Execute the HTTP method to the given URI template, writing the given request entity to the request, and
returns the response as ResponseEntity
.
URI Template variables are expanded using the given URI variables.
the URL
the HTTP method (GET, POST, etc)
the entity (headers and/or body) to write to the request
the variables to expand in the template
the response as entity
3.0.2
Execute the HTTP method to the given URI template, writing the given request entity to the request, and
returns the response as ResponseEntity
.
Execute the HTTP method to the given URI template, writing the given request entity to the request, and
returns the response as ResponseEntity
.
URI Template variables are expanded using the given URI variables, if any.
the URL
the HTTP method (GET, POST, etc)
the entity (headers and/or body) to write to the request
the variables to expand in the template
the response as entity
Execute the HTTP method to the given URL, preparing the request with the given function, and reading the response with a function.
Execute the HTTP method to the given URL, preparing the request with the given function, and reading the response with a function.
the URL
the HTTP method (GET, POST, etc)
function that prepares the request
function that extracts the return value from the response
an arbitrary object, as returned by the response object
Execute the HTTP method to the given URI template, preparing the request with the given function, and reading the response with a function
Execute the HTTP method to the given URI template, preparing the request with the given function, and reading the response with a function
URI Template variables are expanded using the given URI variables map.
the URL
the HTTP method (GET, POST, etc)
the variables to expand in the template
function that prepares the request
function that extracts the return value from the response
an arbitrary object, as returned by the response function
Execute the HTTP method to the given URI template, preparing the request with the given function, and reading the response with a function.
Execute the HTTP method to the given URI template, preparing the request with the given function, and reading the response with a function.
URI Template variables are expanded using the given URI variables, if any.
the URL
the HTTP method (GET, POST, etc)
the variables to expand in the template
function that prepares the request
function that extracts the return value from the response
an arbitrary object, as returned by the response function
Retrieve a representation by doing a GET on the URL.
Retrieve a representation by doing a GET on the URL. The response (if any) is converted and returned.
the URL
the converted object
Retrieve a representation by doing a GET on the URI template.
Retrieve a representation by doing a GET on the URI template. The response (if any) is converted and returned.
URI Template variables are expanded using the given map.
the URL
the map containing variables for the URI template
the converted object
Retrieve a representation by doing a GET on the specified URL.
Retrieve a representation by doing a GET on the specified URL. The response (if any) is converted and returned.
URI Template variables are expanded using the given URI variables, if any.
the URL
the variables to expand the template
the converted object
Retrieve a representation by doing a GET on the URL .
Retrieve a representation by doing a GET on the URL . The response is converted and stored in an org.springframework.http.ResponseEntity}.
the URL
the converted object
Retrieve a representation by doing a GET on the URL.
Retrieve a representation by doing a GET on the URL. The response is converted and stored in an org.springframework.http.ResponseEntity.
URI Template variables are expanded using the given map.
the URL
the map containing variables for the URI template
the converted object
Retrieve an entity by doing a GET on the specified URL.
Retrieve an entity by doing a GET on the specified URL.
The response is converted and stored in an ResponseEntity
.
URI Template variables are expanded using the given URI variables, if any.
the URL
the variables to expand the template
the entity
Retrieve all headers of the resource specified by the URL.
Retrieve all headers of the resource specified by the URL.
the URL
all HTTP headers of that resource
Retrieve all headers of the resource specified by the URI template.
Retrieve all headers of the resource specified by the URI template.
URI Template variables are expanded using the given map.
the URL
the map containing variables for the URI template
all HTTP headers of that resource
Retrieve all headers of the resource specified by the URI template.
Retrieve all headers of the resource specified by the URI template.
URI Template variables are expanded using the given URI variables, if any.
the URL
the variables to expand the template
all HTTP headers of that resource
the Java RestTemplate
to wrap
Return the value of the Allow header for the given URL.
Return the value of the Allow header for the given URL.
the URL
the value of the allow header
Return the value of the Allow header for the given URI.
Return the value of the Allow header for the given URI.
URI Template variables are expanded using the given map.
the URL
the variables to expand in the template
the value of the allow header
Return the value of the Allow header for the given URI.
Return the value of the Allow header for the given URI.
URI Template variables are expanded using the given URI variables, if any.
the URL
the variables to expand in the template
the value of the allow header
Create a new resource by POSTing the given object to the URL, and returns the response as org.springframework.http.ResponseEntity.
Create a new resource by POSTing the given object to the URL, and returns the response as org.springframework.http.ResponseEntity.
The request
parameter can be a org.springframework.http.HttpEntity in order to add additional HTTP headers
to the request.
the URL
the Object to be POSTed, may be null
the converted object
3.0.2
HttpEntity
Create a new resource by POSTing the given object to the URI template, and returns the response as org.springframework.http.HttpEntity.
Create a new resource by POSTing the given object to the URI template, and returns the response as org.springframework.http.HttpEntity.
URI Template variables are expanded using the given map.
The request
parameter can be a org.springframework.http.HttpEntity in order to add additional HTTP headers
to the request.
the URL
the Object to be POSTed
the variables to expand the template
the converted object
HttpEntity
Create a new resource by POSTing the given object to the URI template, and returns the response as org.springframework.http.ResponseEntity.
Create a new resource by POSTing the given object to the URI template, and returns the response as org.springframework.http.ResponseEntity.
URI Template variables are expanded using the given URI variables, if any.
The request
parameter can be a org.springframework.http.HttpEntity in order to add additional HTTP headers
to the request.
the URL
the Object to be POSTed
the variables to expand the template
the converted object
HttpEntity
Create a new resource by POSTing the given object to the URL, and returns the value of the Location
header.
Create a new resource by POSTing the given object to the URL, and returns the value of the Location
header.
This header typically indicates where the new resource is stored.
The request
parameter can be a org.springframework.http.HttpEntity in order to add additional HTTP headers
to the request.
the URL
the Object to be POSTed
the value for the Location
header
HttpEntity
Create a new resource by POSTing the given object to the URI template, and returns the value of the Location
header.
Create a new resource by POSTing the given object to the URI template, and returns the value of the Location
header.
This header typically indicates where the new resource is stored.
URI Template variables are expanded using the given map.
The request
parameter can be a org.springframework.http.HttpEntity in order to add additional HTTP headers
to the request.
the URL
the Object to be POSTed
the variables to expand the template
the value for the Location
header
HttpEntity
Create a new resource by POSTing the given object to the URI template, and returns the value of the Location
header.
Create a new resource by POSTing the given object to the URI template, and returns the value of the Location
header.
This header typically indicates where the new resource is stored.
URI Template variables are expanded using the given URI variables, if any.
The request
parameter can be a org.springframework.http.HttpEntity in order to add additional HTTP headers
to the request.
the URL
the Object to be POSTed
the variables to expand the template
the value for the Location
header
HttpEntity
Create a new resource by POSTing the given object to the URL, and returns the representation found in the response.
Create a new resource by POSTing the given object to the URL, and returns the representation found in the response.
The request
parameter can be a org.springframework.http.HttpEntity in order to add additional HTTP headers
to the request.
the URL
the Object to be POSTed
the converted object
HttpEntity
Create a new resource by POSTing the given object to the URI template, and returns the representation found in the response.
Create a new resource by POSTing the given object to the URI template, and returns the representation found in the response.
URI Template variables are expanded using the given map.
The request
parameter can be a org.springframework.http.HttpEntity in order to add additional HTTP headers
to the request.
the URL
the Object to be POSTed, may be null
the variables to expand the template
the converted object
HttpEntity
Create a new resource by POSTing the given object to the URI template, and returns the representation found in the response.
Create a new resource by POSTing the given object to the URI template, and returns the representation found in the response.
URI Template variables are expanded using the given URI variables, if any.
The request
parameter can be a org.springframework.http.HttpEntity in order to add additional HTTP headers
to the request.
the URL
the Object to be POSTed
the variables to expand the template
the converted object
HttpEntity
Creates a new resource by PUTting the given object to URL.
Creates a new resource by PUTting the given object to URL.
The request
parameter can be a org.springframework.http.HttpEntity in order to add additional HTTP headers
to the request.
the URL
the Object to be PUT
HttpEntity
Creates a new resource by PUTting the given object to URI template.
Creates a new resource by PUTting the given object to URI template.
URI Template variables are expanded using the given map.
The request
parameter can be a org.springframework.http.HttpEntity in order to add additional HTTP headers
to the request.
the URL
the Object to be PUT
the variables to expand the template
HttpEntity
Create or update a resource by PUTting the given object to the URI.
Create or update a resource by PUTting the given object to the URI.
URI Template variables are expanded using the given URI variables, if any.
The request
parameter can be a org.springframework.http.HttpEntity in order to add additional HTTP headers
to the request.
the URL
the Object to be PUT
the variables to expand the template
HttpEntity
Scala-based convenience wrapper for the Spring org.springframework.web.client.RestTemplate, taking advantage of functions and Scala types.
1.0