public class Context extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT_ATTRIBUTE |
Modifier and Type | Method and Description |
---|---|
String |
getBaseUrl() |
ParamCollector |
getCollector() |
static Map<String,String> |
getConnectMap() |
String |
getDistributionKey() |
Map<String,String> |
getErrorsMap() |
String |
getFieldsInErrorAsJson() |
Map<String,String> |
getInfosMap() |
boolean |
hasBrowserInternetAccess() |
boolean |
hasErrors() |
boolean |
hasInfos() |
static Context |
instance(javax.servlet.http.HttpServletRequest req) |
boolean |
isBrowserInternetAccessChecked() |
boolean |
isConnectRegistrationDone() |
static void |
reset() |
void |
setBaseUrl(String base) |
void |
setBrowserInternetAccess(boolean browserInternetAccess) |
void |
storeConnectMap(Map<String,String> map) |
void |
trackError(String fieldId,
String message) |
void |
trackInfo(String fieldId,
String message) |
public static final String CONTEXT_ATTRIBUTE
public static Context instance(javax.servlet.http.HttpServletRequest req)
public static void reset()
public ParamCollector getCollector()
public String getDistributionKey()
public boolean hasErrors()
public boolean hasInfos()
public String getFieldsInErrorAsJson()
public boolean isConnectRegistrationDone()
public void setBaseUrl(String base)
public String getBaseUrl()
public boolean isBrowserInternetAccessChecked()
public boolean hasBrowserInternetAccess()
public void setBrowserInternetAccess(boolean browserInternetAccess)
Copyright © 2015 Nuxeo SA. All rights reserved.