Class PageUrlCache

java.lang.Object
io.fluentlenium.core.PageUrlCache

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

    • PageUrlCache

      public PageUrlCache()
  • Method Details

    • getUrl

      public String getUrl()
    • getParameters

      public Map<String,String> getParameters()
    • getParameter

      public String getParameter (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 (String url, Map<String,String> parameters)
      Saves the argument url and parameters in this object.
      Parameters:
      url - the url
      parameters - the url parameters