blob: 8ea8e1f600be1b40277efc60bfd5e39927c2edc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
package org.openecomp.sdc.common.http.config;
import java.util.HashMap;
import java.util.Map;
public class HttpRequestConfig {
private String serverRootUrl;
private Map<String, String> resourceNamespaces;
public String getServerRootUrl() {
return serverRootUrl;
}
public void setServerRootUrl(String serverRootUrl) {
this.serverRootUrl = serverRootUrl;
}
public Map<String, String> getResourceNamespaces() {
if(resourceNamespaces == null) {
resourceNamespaces = new HashMap<>();
}
return resourceNamespaces;
}
public void setResourceNamespaces(Map<String, String> resourceNamespaces) {
this.resourceNamespaces = resourceNamespaces;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("HttpRequestConfig [serverRootUrl=");
builder.append(serverRootUrl);
builder.append(", resourceNamespaces=");
builder.append(resourceNamespaces);
builder.append("]");
return builder.toString();
}
}
|