Merge branch '2.1.x'
This commit is contained in:
@@ -31,7 +31,7 @@ public class AnotherExampleRestClient {
|
||||
private RestTemplate restTemplate;
|
||||
|
||||
public AnotherExampleRestClient(RestTemplateBuilder builder) {
|
||||
this.restTemplate = builder.rootUri("http://example.com").build();
|
||||
this.restTemplate = builder.rootUri("https://example.com").build();
|
||||
}
|
||||
|
||||
protected RestTemplate getRestTemplate() {
|
||||
|
||||
@@ -31,7 +31,7 @@ public class ExampleRestClient {
|
||||
private RestTemplate restTemplate;
|
||||
|
||||
public ExampleRestClient(RestTemplateBuilder builder) {
|
||||
this.restTemplate = builder.rootUri("http://example.com").build();
|
||||
this.restTemplate = builder.rootUri("https://example.com").build();
|
||||
}
|
||||
|
||||
protected RestTemplate getRestTemplate() {
|
||||
|
||||
@@ -36,7 +36,7 @@ class HateoasController {
|
||||
@RequestMapping("/resource")
|
||||
public EntityModel<Map<String, String>> resource() {
|
||||
return new EntityModel<>(new HashMap<>(),
|
||||
new Link("self", "http://api.example.com"));
|
||||
new Link("self", "https://api.example.com"));
|
||||
}
|
||||
|
||||
@RequestMapping("/plain")
|
||||
|
||||
Reference in New Issue
Block a user