ProxyAuthenticationInfo

final class ProxyAuthenticationInfo(response: HttpResponse) extends AnyVal

Provides standardized access to Proxy-Authentication-Info header.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def getProxyAuthenticationInfo: Option[Map[String, String]]

Gets Proxy-Authentication-Info header value if present.

Gets Proxy-Authentication-Info header value if present.

Tests for Proxy-Authentication-Info header.

Tests for Proxy-Authentication-Info header.

def proxyAuthenticationInfo: Map[String, String]

Gets Proxy-Authentication-Info header values.

Gets Proxy-Authentication-Info header values.

Returns

header value or empty map if Proxy-Authentication-Info is not present

Creates new response removing Proxy-Authentication-Info header.

Creates new response removing Proxy-Authentication-Info header.

def setProxyAuthenticationInfo(values: Map[String, String]): HttpResponse

Creates new response setting Proxy-Authentication-Info header to supplied values.

Creates new response setting Proxy-Authentication-Info header to supplied values.

def setProxyAuthenticationInfo(one: (String, String), more: (String, String)*): HttpResponse

Creates new response setting Proxy-Authentication-Info header to supplied values.

Creates new response setting Proxy-Authentication-Info header to supplied values.