Class SiteMessageHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.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

        equals, 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 java.lang.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