URLBuilder
class URLBuilder(protocol: URLProtocol, host: String, port: Int, user: String?, password: String?, encodedPath: String, parameters: ParametersBuilder, fragment: String, trailingQuery: Boolean)
Content copied to clipboard
A URL builder with all mutable components
Constructors
Link copied to clipboard
fun URLBuilder(protocol: URLProtocol = URLProtocol.HTTP, host: String = "localhost", port: Int = DEFAULT_PORT, user: String? = null, password: String? = null, encodedPath: String = "/", parameters: ParametersBuilder = ParametersBuilder(), fragment: String = "", trailingQuery: Boolean = false)
Content copied to clipboard
Types
Functions
Link copied to clipboard
Build a URL string
Link copied to clipboard
Encode components to encodedPath
Properties
Extensions
Link copied to clipboard
URLBuilder authority.
Link copied to clipboard
Create a copy of this builder. Modifications in a copy is not reflected in the original instance and vise-versa.
Link copied to clipboard
Adds components to current encodedPath