Class PageUrlCache


  • public final class PageUrlCache
    extends java.lang.Object
    Stores a URL and URL parameters parsed from that URL for caching purposes in FluentPage.
    • Constructor Summary

      Constructors 
      Constructor Description
      PageUrlCache()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cache​(java.lang.String url, java.util.Map<java.lang.String,​java.lang.String> parameters)
      Saves the argument url and parameters in this object.
      java.lang.String getParameter​(java.lang.String parameterName)
      Returns the parameter value for the argument parameter name, or null if the parameter doesn't exist.
      java.util.Map<java.lang.String,​java.lang.String> getParameters()  
      java.lang.String getUrl()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PageUrlCache

        public PageUrlCache()
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
      • getParameters

        public java.util.Map<java.lang.String,​java.lang.String> getParameters()
      • getParameter

        public java.lang.String getParameter​(java.lang.String parameterName)
        Returns the parameter value for the argument parameter name, or null if the parameter doesn't exist.
        Parameters:
        parameterName - the parameter name
        Returns:
        the parameter value or null
      • cache

        public void cache​(java.lang.String url,
                          java.util.Map<java.lang.String,​java.lang.String> parameters)
        Saves the argument url and parameters in this object.
        Parameters:
        url - the url
        parameters - the url parameters