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 1b4a448 commit 3f57ca4Copy full SHA for 3f57ca4
src/main/java/com/ericsson/eiffelcommons/utils/HttpRequest.java
@@ -47,8 +47,6 @@ public enum HttpMethod {
47
GET, POST, DELETE, PUT
48
}
49
50
- @Getter
51
- @Setter
52
protected String baseUrl;
53
54
@Getter
@@ -89,8 +87,9 @@ public String getBaseUrl() {
89
87
* Sets the base url(not including endpoint) for example: http://localhost:8080
90
88
* @param baseUrl
91
*/
92
- public void setBaseUrl(String baseUrl) {
+ public HttpRequest setBaseUrl(String baseUrl) {
93
this.baseUrl = baseUrl;
+ return this;
94
95
96
/**
0 commit comments