postForLocation
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 HttpEntity in order to add additional HTTP headers to the request.
Return
the value for the Location
header
Parameters
the URL
the Object to be POSTed, may be null
the variables to expand the template
See also
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 HttpEntity in order to add additional HTTP headers to the request.
Return
the value for the Location
header
Parameters
the URL
the Object to be POSTed, may be null
the variables to expand the template
See also
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 HttpEntity in order to add additional HTTP headers to the request.
Return
the value for the Location
header
Parameters
the URL
the Object to be POSTed, may be null