public class Dhis2Config extends Object
| Constructor and Description |
|---|
Dhis2Config(String url,
String username,
String password)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword() |
org.springframework.web.util.UriComponentsBuilder |
getResolvedUriBuilder()
Provides a
UriComponentsBuilder which is resolved to
the DHIS 2 instance API. |
String |
getResolvedUrl(String path)
Provides a fully qualified URL to the DHIS 2 instance API.
|
String |
getUrl() |
String |
getUsername() |
public String getResolvedUrl(String path)
path - the URL path (the URL part after /api/.public org.springframework.web.util.UriComponentsBuilder getResolvedUriBuilder()
UriComponentsBuilder which is resolved to
the DHIS 2 instance API.UriComponentsBuilder.public String getUrl()
public String getUsername()
public String getPassword()
Copyright © 2019 UiO. All rights reserved.