Class SiteMessageHandler
java.lang.Object
fr.paris.lutece.portal.service.message.SiteMessageHandler
- All Implemented Interfaces:
ISiteMessageHandler
Site message pages provider service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPage(javax.servlet.http.HttpServletRequest request, int nMode) Returns the content of a page that display the messagebooleanhasMessage(javax.servlet.http.HttpServletRequest request) Analyzes request parameters to see if the request should be handled
-
Constructor Details
-
SiteMessageHandler
public SiteMessageHandler()
-
-
Method Details
-
hasMessage
public boolean hasMessage(javax.servlet.http.HttpServletRequest request) Analyzes request parameters to see if the request should be handled- Specified by:
hasMessagein interfaceISiteMessageHandler- Parameters:
request- The HTTP request- Returns:
- true if it should handle this request
-
getPage
Returns the content of a page that display the message- Specified by:
getPagein interfaceISiteMessageHandler- Parameters:
request- The http requestnMode- The mode- Returns:
- the html code for the display of a page of a site
-