Polishing

(cherry picked from commit 9cb4de8)
This commit is contained in:
Juergen Hoeller
2016-12-20 21:11:07 +01:00
parent 154ef8bf10
commit 82c1c859d9
5 changed files with 23 additions and 25 deletions

View File

@@ -310,12 +310,12 @@ public interface RestOperations {
/**
* Update a resource by PATCHing the given object to the URI template,
* and returns the representation found in the response.
* and return the representation found in the response.
* <p>URI Template variables are expanded using the given URI variables, if any.
* <p>The {@code request} parameter can be a {@link HttpEntity} in order to
* add additional HTTP headers to the request.
* @param url the URL
* @param request the Object to be PATCHed (may be {@code null})
* @param request the object to be PATCHed (may be {@code null})
* @param responseType the type of the return value
* @param uriVariables the variables to expand the template
* @return the converted object
@@ -327,12 +327,12 @@ public interface RestOperations {
/**
* Update a resource by PATCHing the given object to the URI template,
* and returns the representation found in the response.
* and return the representation found in the response.
* <p>URI Template variables are expanded using the given map.
* <p>The {@code request} parameter can be a {@link HttpEntity} in order to
* add additional HTTP headers to the request.
* @param url the URL
* @param request the Object to be PATCHed (may be {@code null})
* @param request the object to be PATCHed (may be {@code null})
* @param responseType the type of the return value
* @param uriVariables the variables to expand the template
* @return the converted object
@@ -344,11 +344,11 @@ public interface RestOperations {
/**
* Update a resource by PATCHing the given object to the URL,
* and returns the representation found in the response.
* and return the representation found in the response.
* <p>The {@code request} parameter can be a {@link HttpEntity} in order to
* add additional HTTP headers to the request.
* @param url the URL
* @param request the Object to be PATCHed (may be {@code null})
* @param request the object to be PATCHed (may be {@code null})
* @param responseType the type of the return value
* @return the converted object
* @since 4.3.5