Modifier and Type | Field and Description |
---|---|
protected static String |
baseUrl |
protected static Boolean |
browserInternetAccess |
protected static ParamCollector |
collector |
protected static Map<String,String> |
connectMap |
static String |
CONTEXT_ATTRIBUTE |
protected static String |
distributionKey |
protected Map<String,String> |
errors |
protected Map<String,String> |
infos |
protected javax.servlet.http.HttpServletRequest |
req |
Modifier | Constructor and Description |
---|---|
protected |
Context(javax.servlet.http.HttpServletRequest req) |
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
protected static ParamCollector collector
protected static Boolean browserInternetAccess
protected static Map<String,String> connectMap
protected static String distributionKey
protected javax.servlet.http.HttpServletRequest req
protected Context(javax.servlet.http.HttpServletRequest req)
public static void reset()
public ParamCollector getCollector()
public String getDistributionKey()
public void trackError(String fieldId, String message)
public boolean hasErrors()
public boolean hasInfos()
public Map<String,String> getErrorsMap()
public Map<String,String> getInfosMap()
public String getFieldsInErrorAsJson()
public void storeConnectMap(Map<String,String> map)
public boolean isConnectRegistrationDone()
public static Map<String,String> getConnectMap()
public void setBaseUrl(String base)
public String getBaseUrl()
public boolean isBrowserInternetAccessChecked()
public boolean hasBrowserInternetAccess()
public void setBrowserInternetAccess(boolean browserInternetAccess)
Copyright © 2016 Nuxeo SA. All rights reserved.