Class SiteMessageHandler
- java.lang.Object
-
- fr.paris.lutece.portal.service.message.SiteMessageHandler
-
- All Implemented Interfaces:
ISiteMessageHandler
public class SiteMessageHandler extends Object implements ISiteMessageHandler
Site message pages provider service.
-
-
Constructor Summary
Constructors Constructor Description SiteMessageHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPage(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
-
-
-
Method Detail
-
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
public String getPage(javax.servlet.http.HttpServletRequest request, int nMode)
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
-
-