public class PageContentService extends ContentService
Constructor and Description |
---|
PageContentService() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the Service name
|
String |
getPage(javax.servlet.http.HttpServletRequest request,
int nMode)
Returns the HTML (or XML) code for a page for a given mode.
|
boolean |
isInvoked(javax.servlet.http.HttpServletRequest request)
Analyzes request's parameters to see if the request should be handled by the current Content Service
|
getPluginName, setPluginName
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache
public String getPage(javax.servlet.http.HttpServletRequest request, int nMode) throws UserNotSignedException, SiteMessageException
getPage
in class ContentService
request
- The HTTP request containing content parametersnMode
- The current mode.UserNotSignedException
- the UserNotSignedExceptionSiteMessageException
- occurs when a site message need to be displayedpublic boolean isInvoked(javax.servlet.http.HttpServletRequest request)
isInvoked
in class ContentService
request
- The HTTP requestpublic String getName()
Copyright © 2020 City of Paris. All rights reserved.