Class UriBaseContextPath


  • public class UriBaseContextPath
    extends Object
    Helper to extract a base path from an URI.
    • Constructor Detail

      • UriBaseContextPath

        public UriBaseContextPath​(String uri)
        Constructor that accepts an URI and tries to cut out the base path on construction.
        Parameters:
        uri - the inspected URI.
    • Method Detail

      • get

        public String get()
        Gets the extracted base path.
        Returns:
        the base path or an empty string if the parser was not able to find a base path.