ProxyAuthenticate

scamper.http.auth.ProxyAuthenticate
final class ProxyAuthenticate(response: HttpResponse) extends AnyVal

Adds standardized access to Proxy-Authenticate header.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def hasProxyAuthenticate: Boolean

Tests for Proxy-Authenticate.

Tests for Proxy-Authenticate.

Attributes

def hasProxyBasic: Boolean

Tests for basic proxy authentication.

Tests for basic proxy authentication.

Attributes

def hasProxyBearer: Boolean

Tests for bearer proxy authentication.

Tests for bearer proxy authentication.

Attributes

Gets Proxy-Authenticate header values.

Gets Proxy-Authenticate header values.

Attributes

Returns

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

Gets Proxy-Authenticate header values if present.

Gets Proxy-Authenticate header values if present.

Attributes

Creates new response with Proxy-Authenticate header removed.

Creates new response with Proxy-Authenticate header removed.

Attributes

Gets basic proxy authentication.

Gets basic proxy authentication.

Attributes

Throws
HttpException

if basic proxy authentication is not present

Gets basic proxy authentication if present.

Gets basic proxy authentication if present.

Attributes

Gets bearer proxy authentication.

Gets bearer proxy authentication.

Attributes

Throws
HttpException

if bearer proxy authentication is not present

Gets bearer proxy authentication if present.

Gets bearer proxy authentication if present.

Attributes

Creates new response with Proxy-Authenticate header set to supplied values.

Creates new response with Proxy-Authenticate header set to supplied values.

Attributes

Creates new response with Proxy-Authenticate header set to supplied values.

Creates new response with Proxy-Authenticate header set to supplied values.

Attributes

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

Creates new response with basic proxy authentication.

Creates new response with basic proxy authentication.

Attributes

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

Creates new response with basic proxy authentication.

Creates new response with basic proxy authentication.

Attributes

Creates new response with basic proxy authentication.

Creates new response with basic proxy authentication.

Attributes

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

Creates new response with bearer proxy authentication.

Creates new response with bearer proxy authentication.

Attributes

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

Creates new response with bearer proxy authentication.

Creates new response with bearer proxy authentication.

Attributes

Creates new response with bearer proxy authentication.

Creates new response with bearer proxy authentication.

Attributes