ProxyAuthorization

scamper.http.auth.ProxyAuthorization
final class ProxyAuthorization(request: HttpRequest) extends AnyVal

Adds standardized access to Proxy-Authorization header.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def hasProxyAuthorization: Boolean

Tests for Proxy-Authorization header.

Tests for Proxy-Authorization header.

Attributes

def hasProxyBasic: Boolean

Tests for basic proxy authorization.

Tests for basic proxy authorization.

Attributes

def hasProxyBearer: Boolean

Tests for bearer proxy authorization.

Tests for bearer proxy authorization.

Attributes

Gets Proxy-Authorization header value.

Gets Proxy-Authorization header value.

Attributes

Throws
HeaderNotFound

if Proxy-Authorization is not present

Gets Proxy-Authorization header value if present.

Gets Proxy-Authorization header value if present.

Attributes

Creates new request with Proxy-Authorization header removed.

Creates new request with Proxy-Authorization header removed.

Attributes

Gets basic proxy authorization.

Gets basic proxy authorization.

Attributes

Throws
HttpException

if basic proxy authorization is not present

Gets basic proxy authorization if present.

Gets basic proxy authorization if present.

Attributes

Gets bearer proxy authorization.

Gets bearer proxy authorization.

Attributes

Throws
HttpException

if bearer proxy authorization is not present

Gets bearer proxy authorization if present.

Gets bearer proxy authorization if present.

Attributes

Creates new request with Proxy-Authorization header set to supplied value.

Creates new request with Proxy-Authorization header set to supplied value.

Attributes

def setProxyBasic(token: String): HttpRequest

Creates new request with basic proxy authorization.

Creates new request with basic proxy authorization.

Attributes

def setProxyBasic(user: String, password: String): HttpRequest

Creates new request with basic proxy authorization.

Creates new request with basic proxy authorization.

Attributes

Creates new request with basic proxy authorization.

Creates new request with basic proxy authorization.

Attributes

def setProxyBearer(token: String): HttpRequest

Creates new request with bearer proxy authorization.

Creates new request with bearer proxy authorization.

Attributes

Creates new request with bearer proxy authorization.

Creates new request with bearer proxy authorization.

Attributes