root / src / gr / grnet / pithos / web / client / Const.java @ dc8cc18a
History | View | Annotate | Download (1.3 kB)
1 |
package gr.grnet.pithos.web.client; |
---|---|
2 |
|
3 |
import com.google.gwt.regexp.shared.RegExp; |
4 |
|
5 |
/**
|
6 |
* Gathers application-wide constants, like <code>X-Auth-Token</code>
|
7 |
*/
|
8 |
public class Const { |
9 |
public static final String X_AUTH_TOKEN = "X-Auth-Token"; |
10 |
public static final String OTHER_PROPERTIES = "otherProperties"; |
11 |
public static final String LOGIN_URL = "loginUrl"; |
12 |
public static final String IF_MODIFIED_SINCE = "If-Modified-Since"; |
13 |
public static final String PERCENT_100 = "100%"; |
14 |
public static final String DATE_FORMAT_1 = "EEE, dd MMM yyyy HH:mm:ss"; |
15 |
public static final String AUTH_COOKIE = "authCookie"; |
16 |
public static final String X_COPY_FROM = "X-Copy-From"; |
17 |
public static final String X_SOURCE_ACCOUNT = "X-Source-Account"; |
18 |
public static final String CONTENT_TYPE = "Content-Type"; |
19 |
public static final String ACCEPT = "Accept"; |
20 |
public static final String CONTENT_LENGTH = "Content-Length"; |
21 |
public static final String X_MOVE_FROM = "X-Move-From"; |
22 |
public static final String HOME_CONTAINER = "pithos"; |
23 |
public static final String TRASH_CONTAINER = "trash"; |
24 |
public static final RegExp EMAIL_REGEX = RegExp.compile("^[A-Z0-9._%+-]+@[A-Z0-9.-]+[.][A-Z]{2,4}$", "i"); |
25 |
public static final String X_ACCOUNT_GROUP_ = "X-Account-Group-"; |
26 |
|
27 |
private Const() {}
|
28 |
|
29 |
|
30 |
} |