public final class DbxHost
extends java.lang.Object
DEFAULT
.Modifier and Type | Field and Description |
---|---|
static DbxHost |
DEFAULT
The standard Dropbox hosts: "api.dropbox.com", "api-content.dropbox.com",
and "www.dropbox.com"
|
static JsonReader<DbxHost> |
Reader |
static JsonWriter<DbxHost> |
Writer |
Constructor and Description |
---|
DbxHost(java.lang.String api,
java.lang.String content,
java.lang.String web,
java.lang.String notify) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApi()
Returns the host name of the main Dropbox API server.
|
java.lang.String |
getContent()
Returns the host name of the Dropbox API content server.
|
java.lang.String |
getNotify()
Returns the host name of the Dropbox notification server.
|
java.lang.String |
getWeb()
Returns the host name of the Dropbox web server.
|
int |
hashCode() |
public static final DbxHost DEFAULT
public static final JsonReader<DbxHost> Reader
public static final JsonWriter<DbxHost> Writer
public DbxHost(java.lang.String api, java.lang.String content, java.lang.String web, java.lang.String notify)
api
- main Dropbox API server host namecontent
- Dropbox API content server host nameweb
- Dropbox web server host namenotify
- Dropbox notification server host namepublic java.lang.String getApi()
"api.dropbox.com"
.public java.lang.String getContent()
"api-content.dropbox.com"
.public java.lang.String getWeb()
"www.dropbox.com"
.public java.lang.String getNotify()
"api-notify.dropbox.com"
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object