public class StandaloneAppService extends ContentService
RunStandaloneApp.jsp?page=keyname¶m1=value1& ...¶mN=valueN XPage| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_STANDALONE_APP |
| Constructor and Description |
|---|
StandaloneAppService() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCacheSize()
Gets the number of item currently in the cache.
|
String |
getName()
Returns the Content Service name
|
String |
getPage(javax.servlet.http.HttpServletRequest request,
int nMode)
Build the XPage content.
|
boolean |
isCacheEnable()
Gets the current cache status.
|
boolean |
isInvoked(javax.servlet.http.HttpServletRequest request)
Analyzes request parameters to see if the request should be handled by the current Content Service
|
void |
resetCache()
Reset the cache.
|
void |
setCache(boolean bCache)
Enable or disable the cache feature.
|
getPluginName, setPluginNameclone, dispose, enableCache, getCache, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKeypublic static final String PARAM_STANDALONE_APP
public String getName()
public boolean isInvoked(javax.servlet.http.HttpServletRequest request)
isInvoked in class ContentServicerequest - The HTTP requestpublic void setCache(boolean bCache)
bCache - true to enable the cache, false to disablepublic boolean isCacheEnable()
isCacheEnable in interface CacheableServiceisCacheEnable in class AbstractCacheableServicepublic void resetCache()
resetCache in interface CacheableServiceresetCache in class AbstractCacheableServicepublic int getCacheSize()
getCacheSize in interface CacheableServicegetCacheSize in class AbstractCacheableServicepublic String getPage(javax.servlet.http.HttpServletRequest request, int nMode) throws UserNotSignedException, SiteMessageException
getPage in class ContentServicerequest - The HTTP request.nMode - The current mode.UserNotSignedException - a userNotSignedExceptionSiteMessageException - occurs when a site message need to be displayedCopyright © 2021 City of Paris. All rights reserved.