Interface Address


public interface Address
Represents a valid web address, or valid web address fragment.
Author:
Lincoln Baxter, III
  • Method Details

    • getAnchor

      String getAnchor()
      Return the anchor '#' section of the Address, or null if no anchor is set.
    • isAnchorSet

      boolean isAnchorSet()
      Return true if the Address contains an anchor '#' section, otherwise return false.
    • getPath

      String getPath()
      Get the path section of this Address, or null if no path is set.
    • getPathAndQuery

      String getPathAndQuery()
      Get the path and query sections of this Address, or null if neither are set.
    • isPathSet

      boolean isPathSet()
      Return true if this Address contains a path section, otherwise return false.
    • getPort

      Integer getPort()
      Get the port of this Address, or null if no port is set.
    • isPortSet

      boolean isPortSet()
      Return true if a port is set in Address, otherwise return false.
    • getDomain

      String getDomain()
      Get the domain section of this Address, or null if no domain is set.
    • isDomainSet

      boolean isDomainSet()
      Return true if this Address has a domain section, otherwise return false.
    • getScheme

      String getScheme()
      Get the scheme section of this Address, or null if no scheme is set.
    • isSchemeSet

      boolean isSchemeSet()
      Return true if this Address has a scheme section, otherwise return false.
    • getSchemeSpecificPart

      String getSchemeSpecificPart()
      Get the scheme section of this Address, or null if no scheme specific part is set.
    • isSchemeSpecificPartSet

      boolean isSchemeSpecificPartSet()
      Return true if this Address has a scheme specific part section, otherwise return false.
    • getQuery

      String getQuery()
      Get the query section of this Address, or null if no query is set.
    • getQueryParameters

      Map<String,List<Object>> getQueryParameters()
      Get the query parameters of this Address, or null if no query is set.
    • isQuerySet

      boolean isQuerySet()
      Return true if this Address contains a query section, otherwise return false.