Polish
See gh-28239
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,7 +23,7 @@ import org.springframework.core.ResolvableType;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* JSON content created usually from a JSON tester. Generally used only to
|
||||
* JSON content usually created from a JSON tester. Generally used only to
|
||||
* {@link AssertProvider provide} {@link JsonContentAssert} to AssertJ {@code assertThat}
|
||||
* calls.
|
||||
*
|
||||
|
||||
@@ -682,7 +682,7 @@ public class TestRestTemplate {
|
||||
* <p>
|
||||
* URI Template variables are expanded using the given URI variables, if any.
|
||||
* @param url the URL
|
||||
* @param method the HTTP method (GET, POST, etc)
|
||||
* @param method the HTTP method (GET, POST, etc.)
|
||||
* @param requestEntity the entity (headers and/or body) to write to the request, may
|
||||
* be {@code null}
|
||||
* @param responseType the type of the return value
|
||||
@@ -703,7 +703,7 @@ public class TestRestTemplate {
|
||||
* <p>
|
||||
* URI Template variables are expanded using the given URI variables, if any.
|
||||
* @param url the URL
|
||||
* @param method the HTTP method (GET, POST, etc)
|
||||
* @param method the HTTP method (GET, POST, etc.)
|
||||
* @param requestEntity the entity (headers and/or body) to write to the request, may
|
||||
* be {@code null}
|
||||
* @param responseType the type of the return value
|
||||
@@ -722,7 +722,7 @@ public class TestRestTemplate {
|
||||
* Execute the HTTP method to the given URI template, writing the given request entity
|
||||
* to the request, and returns the response as {@link ResponseEntity}.
|
||||
* @param url the URL
|
||||
* @param method the HTTP method (GET, POST, etc)
|
||||
* @param method the HTTP method (GET, POST, etc.)
|
||||
* @param requestEntity the entity (headers and/or body) to write to the request, may
|
||||
* be {@code null}
|
||||
* @param responseType the type of the return value
|
||||
@@ -745,7 +745,7 @@ public class TestRestTemplate {
|
||||
* ResponseEntity<List<MyBean>> response = template.exchange("https://example.com",HttpMethod.GET, null, myBean);
|
||||
* </pre>
|
||||
* @param url the URL
|
||||
* @param method the HTTP method (GET, POST, etc)
|
||||
* @param method the HTTP method (GET, POST, etc.)
|
||||
* @param requestEntity the entity (headers and/or body) to write to the request, may
|
||||
* be {@code null}
|
||||
* @param responseType the type of the return value
|
||||
@@ -770,7 +770,7 @@ public class TestRestTemplate {
|
||||
* ResponseEntity<List<MyBean>> response = template.exchange("https://example.com",HttpMethod.GET, null, myBean);
|
||||
* </pre>
|
||||
* @param url the URL
|
||||
* @param method the HTTP method (GET, POST, etc)
|
||||
* @param method the HTTP method (GET, POST, etc.)
|
||||
* @param requestEntity the entity (headers and/or body) to write to the request, may
|
||||
* be {@code null}
|
||||
* @param responseType the type of the return value
|
||||
@@ -795,7 +795,7 @@ public class TestRestTemplate {
|
||||
* ResponseEntity<List<MyBean>> response = template.exchange("https://example.com",HttpMethod.GET, null, myBean);
|
||||
* </pre>
|
||||
* @param url the URL
|
||||
* @param method the HTTP method (GET, POST, etc)
|
||||
* @param method the HTTP method (GET, POST, etc.)
|
||||
* @param requestEntity the entity (headers and/or body) to write to the request, may
|
||||
* be {@code null}
|
||||
* @param responseType the type of the return value
|
||||
@@ -854,7 +854,7 @@ public class TestRestTemplate {
|
||||
* <p>
|
||||
* URI Template variables are expanded using the given URI variables, if any.
|
||||
* @param url the URL
|
||||
* @param method the HTTP method (GET, POST, etc)
|
||||
* @param method the HTTP method (GET, POST, etc.)
|
||||
* @param requestCallback object that prepares the request
|
||||
* @param responseExtractor object that extracts the return value from the response
|
||||
* @param urlVariables the variables to expand in the template
|
||||
@@ -875,7 +875,7 @@ public class TestRestTemplate {
|
||||
* <p>
|
||||
* URI Template variables are expanded using the given URI variables map.
|
||||
* @param url the URL
|
||||
* @param method the HTTP method (GET, POST, etc)
|
||||
* @param method the HTTP method (GET, POST, etc.)
|
||||
* @param requestCallback object that prepares the request
|
||||
* @param responseExtractor object that extracts the return value from the response
|
||||
* @param urlVariables the variables to expand in the template
|
||||
@@ -894,7 +894,7 @@ public class TestRestTemplate {
|
||||
* Execute the HTTP method to the given URL, preparing the request with the
|
||||
* {@link RequestCallback}, and reading the response with a {@link ResponseExtractor}.
|
||||
* @param url the URL
|
||||
* @param method the HTTP method (GET, POST, etc)
|
||||
* @param method the HTTP method (GET, POST, etc.)
|
||||
* @param requestCallback object that prepares the request
|
||||
* @param responseExtractor object that extracts the return value from the response
|
||||
* @param <T> the type of the return value
|
||||
|
||||
Reference in New Issue
Block a user