fr.paris.lutece.portal.service.message
Class SiteMessageHandler

java.lang.Object
  extended by 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
SiteMessageHandler()
           
 
Method Summary
 String getPage(javax.servlet.http.HttpServletRequest request, int nMode)
          Returns the content of a page that display the message
 boolean hasMessage(javax.servlet.http.HttpServletRequest request)
          Analyzes request parameters to see if the request should be handled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteMessageHandler

public SiteMessageHandler()
Method Detail

hasMessage

public boolean hasMessage(javax.servlet.http.HttpServletRequest request)
Analyzes request parameters to see if the request should be handled

Specified by:
hasMessage in interface ISiteMessageHandler
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:
getPage in interface ISiteMessageHandler
Parameters:
request - The http request
nMode - The mode
Returns:
the html code for the display of a page of a site


Copyright © 2014 Mairie de Paris. All Rights Reserved.