addEncodedPathSegment |
[jvm] fun addEncodedPathSegment(encodedPathSegment: String): HttpUrl.Builder |
addEncodedPathSegments |
[jvm] fun addEncodedPathSegments(encodedPathSegments: String): HttpUrl.Builder Adds a set of encoded path segments separated by a slash (either \ or / ). If encodedPathSegments starts with a slash, the resulting URL will have empty path segment. |
addEncodedQueryParameter |
[jvm] fun addEncodedQueryParameter(encodedName: String, encodedValue: String?): HttpUrl.Builder Adds the pre-encoded query parameter to this URL’s query string. |
addPathSegment |
[jvm] fun addPathSegment(pathSegment: String): HttpUrl.Builder |
addPathSegments |
[jvm] fun addPathSegments(pathSegments: String): HttpUrl.Builder Adds a set of path segments separated by a slash (either \ or / ). If pathSegments starts with a slash, the resulting URL will have empty path segment. |
addQueryParameter |
[jvm] fun addQueryParameter(name: String, value: String?): HttpUrl.Builder Encodes the query parameter using UTF-8 and adds it to this URL’s query string. |
build |
[jvm] fun build(): HttpUrl |
encodedFragment |
[jvm] fun encodedFragment(encodedFragment: String?): HttpUrl.Builder |
encodedPassword |
[jvm] fun encodedPassword(encodedPassword: String): HttpUrl.Builder |
encodedPath |
[jvm] fun encodedPath(encodedPath: String): HttpUrl.Builder |
encodedQuery |
[jvm] fun encodedQuery(encodedQuery: String?): HttpUrl.Builder |
encodedUsername |
[jvm] fun encodedUsername(encodedUsername: String): HttpUrl.Builder |
fragment |
[jvm] fun fragment(fragment: String?): HttpUrl.Builder |
host |
[jvm] fun host(host: String): HttpUrl.Builder |
password |
[jvm] fun password(password: String): HttpUrl.Builder |
port |
[jvm] fun port(port: Int): HttpUrl.Builder |
query |
[jvm] fun query(query: String?): HttpUrl.Builder |
removeAllEncodedQueryParameters |
[jvm] fun removeAllEncodedQueryParameters(encodedName: String): HttpUrl.Builder |
removeAllQueryParameters |
[jvm] fun removeAllQueryParameters(name: String): HttpUrl.Builder |
removePathSegment |
[jvm] fun removePathSegment(index: Int): HttpUrl.Builder |
scheme |
[jvm] fun scheme(scheme: String): HttpUrl.Builder |
setEncodedPathSegment |
[jvm] fun setEncodedPathSegment(index: Int, encodedPathSegment: String): HttpUrl.Builder |
setEncodedQueryParameter |
[jvm] fun setEncodedQueryParameter(encodedName: String, encodedValue: String?): HttpUrl.Builder |
setPathSegment |
[jvm] fun setPathSegment(index: Int, pathSegment: String): HttpUrl.Builder |
setQueryParameter |
[jvm] fun setQueryParameter(name: String, value: String?): HttpUrl.Builder |
toString |
[jvm] open override fun toString(): String |
username |
[jvm] fun username(username: String): HttpUrl.Builder |