Rename getOnionAddress() to getBaseUrl()

This can later include a version parameter as well.
This commit is contained in:
Torsten Grote
2022-02-17 14:18:07 -03:00
parent 653b744a02
commit 88c54ed3b0
7 changed files with 20 additions and 18 deletions

View File

@@ -8,19 +8,19 @@ import javax.annotation.concurrent.Immutable;
@NotNullByDefault
public class MailboxProperties {
private final String onionAddress;
private final String baseUrl;
private final MailboxAuthToken authToken;
private final boolean owner;
public MailboxProperties(String onionAddress, MailboxAuthToken authToken,
public MailboxProperties(String baseUrl, MailboxAuthToken authToken,
boolean owner) {
this.onionAddress = onionAddress;
this.baseUrl = baseUrl;
this.authToken = authToken;
this.owner = owner;
}
public String getOnionAddress() {
return onionAddress;
public String getBaseUrl() {
return baseUrl;
}
public MailboxAuthToken getAuthToken() {