public class HttpGadgetContext extends GadgetContext
| Modifier and Type | Field and Description |
|---|---|
static String |
USERPREF_PARAM_PREFIX |
| Constructor and Description |
|---|
HttpGadgetContext(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContainer() |
boolean |
getDebug() |
String |
getHost() |
String |
getHostSchema() |
boolean |
getIgnoreCache() |
Locale |
getLocale() |
long |
getModuleId() |
String |
getParameter(String name) |
String |
getReferer() |
RenderingContext |
getRenderingContext() |
String |
getRepository() |
SecurityToken |
getToken() |
Uri |
getUrl() |
String |
getUserAgent() |
String |
getUserIp() |
UserPrefs |
getUserPrefs() |
String |
getView() |
getCajoled, getSanitizepublic static final String USERPREF_PARAM_PREFIX
public HttpGadgetContext(javax.servlet.http.HttpServletRequest request)
public String getParameter(String name)
getParameter in class GadgetContextname - The parameter to get data for.public String getContainer()
getContainer in class GadgetContextpublic String getHost()
getHost in class GadgetContextpublic String getHostSchema()
getHostSchema in class GadgetContextpublic String getUserIp()
getUserIp in class GadgetContextpublic boolean getDebug()
getDebug in class GadgetContextpublic boolean getIgnoreCache()
getIgnoreCache in class GadgetContextpublic Locale getLocale()
getLocale in class GadgetContextpublic long getModuleId()
getModuleId in class GadgetContextpublic RenderingContext getRenderingContext()
getRenderingContext in class GadgetContextpublic SecurityToken getToken()
getToken in class GadgetContextpublic Uri getUrl()
getUrl in class GadgetContextpublic UserPrefs getUserPrefs()
getUserPrefs in class GadgetContextpublic String getView()
getView in class GadgetContextpublic String getUserAgent()
getUserAgent in class GadgetContextpublic String getRepository()
getRepository in class GadgetContextpublic String getReferer()
getReferer in class GadgetContextCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.