Class URILike


  • public class URILike
    extends Object
    • Method Detail

      • withScheme

        public URILike withScheme​(String scheme)
        Fluently creates new object, but replaces "scheme" part.
        Parameters:
        scheme - — String, will be used as a "scheme" part in the resulting string. May not be conforming to https://datatracker.ietf.org/doc/html/rfc3986/#section-3.1
        Returns:
        new object with changed value of "scheme"
      • withPort

        public URILike withPort​(int port)
      • getScheme

        public String getScheme()
      • getHost

        public String getHost()
      • getPort

        public int getPort()
      • getRestAssuredStyleUri

        public String getRestAssuredStyleUri()
        Returns:
        "URI" formatted in style, preferred by RestAssured library(e.g. "http://localhost")
      • getUserInfo

        public String getUserInfo()
      • getPath

        public String getPath()