Parameterized
class Parameterized(val authScheme: String, val parameters: List<HeaderValueParam>, val encoding: HeaderValueEncoding = HeaderValueEncoding.QUOTED_WHEN_REQUIRED) : HttpAuthHeader
Describes a parameterized authentication header that is represented by a set of parameters encoded with encoding.
Constructors
Link copied to clipboard
fun Parameterized(authScheme: String, parameters: Map<String, String>, encoding: HeaderValueEncoding = HeaderValueEncoding.QUOTED_WHEN_REQUIRED)
Link copied to clipboard
fun Parameterized(authScheme: String, parameters: List<HeaderValueParam>, encoding: HeaderValueEncoding = HeaderValueEncoding.QUOTED_WHEN_REQUIRED)
Functions
Link copied to clipboard
Encodes the header with the default HeaderValueEncoding for this header.
Encodes the header with a specified encoding.
Link copied to clipboard
Encodes the header with the default HeaderValueEncoding for this header.
Link copied to clipboard
Copies this Parameterized appending a new parameter name.
Link copied to clipboard
Copies this Parameterized replacing parameters with name assigning new value or appending if no such parameters found. If there were several pairs they will be reduced into a single pair at position of first occurrence discarding following pairs with this name.