We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d9bc1 commit 605a4a5Copy full SHA for 605a4a5
springboot-starter/src/main/java/com/codingapi/springboot/framework/rest/RestTemplateContext.java
@@ -7,7 +7,7 @@
7
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
8
import org.springframework.web.client.RestTemplate;
9
10
-class RestTemplateContext {
+public class RestTemplateContext {
11
12
private static RestTemplateContext instance;
13
@Getter
@@ -33,7 +33,7 @@ public static RestTemplateContext getInstance() {
33
return instance;
34
}
35
36
- RestTemplate restTemplate(ClientHttpRequestFactory factory) {
+ public RestTemplate restTemplate(ClientHttpRequestFactory factory) {
37
return new RestTemplate(factory);
38
39
0 commit comments