mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-27 01:36:14 +00:00
29 lines
974 B
Java
29 lines
974 B
Java
package com.owncloud.android.lib.refactor;
|
|
|
|
import com.owncloud.android.lib.refactor.account.OCAccount;
|
|
|
|
|
|
public class OCContext {
|
|
private static final String TAG = OCContext.class.toString();
|
|
|
|
public static final String WEBDAV_PATH_4_0 = "/remote.php/dav";
|
|
public static final String STATUS_PATH = "/status.php";
|
|
public static final String FILES_WEB_PATH = "/index.php/apps/files";
|
|
|
|
private static final int MAX_REDIRECTIONS_COUNT = 3;
|
|
private static final int MAX_REPEAT_COUNT_WITH_FRESH_CREDENTIALS = 1;
|
|
private static final String PARAM_SINGLE_COOKIE_HEADER = "http.protocol.single-cookie-header";
|
|
private static final boolean PARAM_SINGLE_COOKIE_HEADER_VALUE = true;
|
|
private static final String PARAM_PROTOCOL_VERSION = "http.protocol.version";
|
|
|
|
private OCAccount mOCAccount;
|
|
|
|
public OCContext(OCAccount account) {
|
|
mOCAccount = account;
|
|
}
|
|
|
|
public OCAccount getOCAccount() {
|
|
return mOCAccount;
|
|
}
|
|
}
|