ProxyAuthenticate

final implicit
class ProxyAuthenticate(response: HttpResponse) extends AnyVal

Provides standardized access to Proxy-Authenticate header.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

Gets Proxy-Authenticate header values if present.

Gets Proxy-Authenticate header values if present.

Gets basic proxy authentication if present.

Gets basic proxy authentication if present.

Gets bearer proxy authentication if present.

Gets bearer proxy authentication if present.

Tests for Proxy-Authenticate.

Tests for Proxy-Authenticate.

def hasProxyBasic: Boolean

Tests for basic proxy authentication.

Tests for basic proxy authentication.

def hasProxyBearer: Boolean

Tests for bearer proxy authentication.

Tests for bearer proxy authentication.

Gets Proxy-Authenticate header values.

Gets Proxy-Authenticate header values.

Returns

header values or empty sequence if Proxy-Authenticate is not present

Gets basic proxy authentication.

Gets basic proxy authentication.

Throws
HttpException

if basic proxy authentication is not present

Gets bearer proxy authentication.

Gets bearer proxy authentication.

Throws
HttpException

if bearer proxy authentication is not present

Creates new response removing Proxy-Authenticate header.

Creates new response removing Proxy-Authenticate header.

Creates new response setting Proxy-Authenticate header to supplied values.

Creates new response setting Proxy-Authenticate header to supplied values.

Creates new response setting Proxy-Authenticate header to supplied values.

Creates new response setting Proxy-Authenticate header to supplied values.

def setProxyBasic(realm: String, params: Map[String, String]): HttpResponse

Creates new response with basic proxy authentication.

Creates new response with basic proxy authentication.

def setProxyBasic(realm: String, params: (String, String)*): HttpResponse

Creates new response with basic proxy authentication.

Creates new response with basic proxy authentication.

Creates new response with basic proxy authentication.

Creates new response with basic proxy authentication.

def setProxyBearer(params: Map[String, String]): HttpResponse

Creates new response with bearer proxy authentication.

Creates new response with bearer proxy authentication.

def setProxyBearer(params: (String, String)*): HttpResponse

Creates new response with bearer proxy authentication.

Creates new response with bearer proxy authentication.

Creates new response with bearer proxy authentication.

Creates new response with bearer proxy authentication.