Class URISupport


  • public class URISupport
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      URISupport()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getURI​(java.lang.String scheme, java.lang.String host, int port, java.lang.String path)  
      static java.lang.String getURI​(java.net.URI theUri)
      Gets the uri as a string without any query parameters.
      static java.lang.String getURI​(java.net.URL theUrl)
      Takes in a URL and returns the associated uri minus the query parameters.
      • Methods inherited from class java.lang.Object

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

      • URISupport

        public URISupport()
    • Method Detail

      • getURI

        public static java.lang.String getURI​(java.net.URI theUri)
        Gets the uri as a string without any query parameters.
        Parameters:
        theUri - The uri to convert.
        Returns:
        The uri minus the query parameters.
      • getURI

        public static java.lang.String getURI​(java.net.URL theUrl)
        Takes in a URL and returns the associated uri minus the query parameters.
        Parameters:
        theUrl - The URL to be converted.
        Returns:
        The converted URI.
      • getURI

        public static java.lang.String getURI​(java.lang.String scheme,
                                              java.lang.String host,
                                              int port,
                                              java.lang.String path)