Package io.gatling.http.client.uri
Class Uri
java.lang.Object
io.gatling.http.client.uri.Uri
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Uristatic UribooleanintgetHost()static StringgetLastDirectoryPath(String path) getPath()intgetPort()getQuery()intinthashCode()booleanisSameBase(Uri other) booleanbooleantoString()toUrl()withNewQuery(String newQuery) withNewScheme(String newScheme)
-
Field Details
-
HTTP
- See Also:
-
HTTPS
- See Also:
-
WS
- See Also:
-
WSS
- See Also:
-
-
Constructor Details
-
Uri
-
-
Method Details
-
create
-
create
-
getQuery
-
getPath
-
getUserInfo
-
getPort
public int getPort() -
getScheme
-
getHost
-
getFragment
-
isSecured
public boolean isSecured() -
isWebSocket
public boolean isWebSocket() -
toJavaNetURI
- Throws:
URISyntaxException
-
getExplicitPort
public int getExplicitPort() -
getSchemeDefaultPort
public int getSchemeDefaultPort() -
toUrl
-
toFullUrl
-
toUrlWithoutQuery
- Returns:
- [scheme]://[hostname](:[port])/path. Port is omitted if it matches the scheme's default one.
-
getBaseUrl
- Returns:
- [scheme]://[hostname](:[port]). Port is omitted if it matches the scheme's default one.
-
toRelativeUrl
-
getAuthority
-
isSameBase
-
getNonEmptyPath
-
getLastDirectoryPath
-
getLastDirectoryPath
-
getEncodedQueryParams
-
withNewScheme
-
withNewQuery
-
toString
-
hashCode
public int hashCode() -
equals
-