org.lantern
Class LanternConstants
java.lang.Object
org.lantern.LanternConstants
public class LanternConstants
- extends Object
Constants for Lantern.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DASHCACHE_MAXAGE
public static final int DASHCACHE_MAXAGE
- See Also:
- Constant Field Values
API_VERSION
public static final String API_VERSION
- See Also:
- Constant Field Values
BUILD_TIME
public static final String BUILD_TIME
- See Also:
- Constant Field Values
UNCENSORED_ID
public static final String UNCENSORED_ID
- See Also:
- Constant Field Values
CHUNK_SIZE
public static final long CHUNK_SIZE
- We make range requests of the form "bytes=x-y" where
y <= x + CHUNK_SIZE
in order to chunk and parallelize downloads of large entities. This
is especially important for requests to laeproxy since it is subject
to GAE's response size limits.
Because "bytes=x-y" requests bytes x through y _inclusive_,
this actually requests y - x + 1 bytes,
i.e. CHUNK_SIZE + 1 bytes
when x = 0 and y = CHUNK_SIZE.
This currently corresponds to laeproxy's RANGE_REQ_SIZE of 2000000.
- See Also:
- Constant Field Values
STATS_URL
public static final String STATS_URL
- See Also:
- Constant Field Values
VERSION_KEY
public static final String VERSION_KEY
- See Also:
- Constant Field Values
LANTERN_LOCALHOST_HTTP_PORT
public static final int LANTERN_LOCALHOST_HTTP_PORT
- See Also:
- Constant Field Values
USER_NAME
public static final String USER_NAME
- See Also:
- Constant Field Values
PASSWORD
public static final String PASSWORD
- See Also:
- Constant Field Values
DIRECT_BYTES
public static final String DIRECT_BYTES
- See Also:
- Constant Field Values
BYTES_PROXIED
public static final String BYTES_PROXIED
- See Also:
- Constant Field Values
REQUESTS_PROXIED
public static final String REQUESTS_PROXIED
- See Also:
- Constant Field Values
DIRECT_REQUESTS
public static final String DIRECT_REQUESTS
- See Also:
- Constant Field Values
MACHINE_ID
public static final String MACHINE_ID
- See Also:
- Constant Field Values
COUNTRY_CODE
public static final String COUNTRY_CODE
- See Also:
- Constant Field Values
WHITELIST_ADDITIONS
public static final String WHITELIST_ADDITIONS
- See Also:
- Constant Field Values
WHITELIST_REMOVALS
public static final String WHITELIST_REMOVALS
- See Also:
- Constant Field Values
SERVERS
public static final String SERVERS
- See Also:
- Constant Field Values
UPDATE_TIME
public static final String UPDATE_TIME
- See Also:
- Constant Field Values
ROSTER
public static final String ROSTER
- See Also:
- Constant Field Values
FORCE_CENSORED
public static final String FORCE_CENSORED
- The following are keys in the properties files.
- See Also:
- Constant Field Values
UPDATE_KEY
public static final String UPDATE_KEY
- The key for the update JSON object.
- See Also:
- Constant Field Values
UPDATE_VERSION_KEY
public static final String UPDATE_VERSION_KEY
- See Also:
- Constant Field Values
UPDATE_URL_KEY
public static final String UPDATE_URL_KEY
- See Also:
- Constant Field Values
UPDATE_MESSAGE_KEY
public static final String UPDATE_MESSAGE_KEY
- See Also:
- Constant Field Values
UPDATE_RELEASED_KEY
public static final String UPDATE_RELEASED_KEY
- See Also:
- Constant Field Values
INVITES_KEY
public static final String INVITES_KEY
- See Also:
- Constant Field Values
INVITED_EMAIL
public static final String INVITED_EMAIL
- See Also:
- Constant Field Values
INVITEE_NAME
public static final String INVITEE_NAME
- See Also:
- Constant Field Values
INVITER_NAME
public static final String INVITER_NAME
- See Also:
- Constant Field Values
INVITER_REFRESH_TOKEN
public static final String INVITER_REFRESH_TOKEN
- See Also:
- Constant Field Values
INVITED
public static final String INVITED
- See Also:
- Constant Field Values
INVITED_KEY
public static final String INVITED_KEY
- See Also:
- Constant Field Values
FAILED_INVITES_KEY
public static final String FAILED_INVITES_KEY
- See Also:
- Constant Field Values
INVITE_FAILED_REASON
public static final String INVITE_FAILED_REASON
- See Also:
- Constant Field Values
I18N_KEY_LENGTH
public static final int I18N_KEY_LENGTH
- The length of keys in translation property files.
- See Also:
- Constant Field Values
CONNECT_ON_LAUNCH
public static final String CONNECT_ON_LAUNCH
- See Also:
- Constant Field Values
START_AT_LOGIN
public static final String START_AT_LOGIN
- See Also:
- Constant Field Values
LANTERN_VERSION_HTTP_HEADER_NAME
public static final String LANTERN_VERSION_HTTP_HEADER_NAME
- Note that we don't include the "X-" for experimental headers here. See:
the draft that appears likely to become an RFC at:
http://tools.ietf.org/html/draft-ietf-appsawg-xdash
- See Also:
- Constant Field Values
ON_APP_ENGINE
public static final boolean ON_APP_ENGINE
KSCOPE_ADVERTISEMENT
public static final int KSCOPE_ADVERTISEMENT
- See Also:
- Constant Field Values
KSCOPE_ADVERTISEMENT_KEY
public static final String KSCOPE_ADVERTISEMENT_KEY
- See Also:
- Constant Field Values
UTF8
public static final Charset UTF8
LanternConstants
public LanternConstants()
Copyright © 2010-2013 Team Lantern. All Rights Reserved.