Package io.quarkus.test.services
Class URILike
- java.lang.Object
-
- io.quarkus.test.services.URILike
-
public class URILike extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHost()StringgetPath()intgetPort()StringgetRestAssuredStyleUri()StringgetScheme()StringgetUserInfo()static URILikeparse(String uri)StringtoString()URILikewithPath(String path)URILikewithPort(int port)URILikewithScheme(String scheme)Fluently creates new object, but replaces "scheme" part.
-
-
-
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()
-
-