ProxyAuthorization

final implicit
class ProxyAuthorization(request: HttpRequest) extends AnyVal

Provides standardized access to Proxy-Authorization header.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

Gets Proxy-Authorization header value if present.

Gets Proxy-Authorization header value if present.

Gets basic proxy authorization if present.

Gets basic proxy authorization if present.

Gets bearer proxy authorization if present.

Gets bearer proxy authorization if present.

Tests for Proxy-Authorization header.

Tests for Proxy-Authorization header.

def hasProxyBasic: Boolean

Tests for basic proxy authorization.

Tests for basic proxy authorization.

def hasProxyBearer: Boolean

Tests for bearer proxy authorization.

Tests for bearer proxy authorization.

Gets Proxy-Authorization header value.

Gets Proxy-Authorization header value.

Throws
HeaderNotFound

if Proxy-Authorization is not present

Gets basic proxy authorization.

Gets basic proxy authorization.

Throws
HttpException

if basic proxy authorization is not present

Gets bearer proxy authorization.

Gets bearer proxy authorization.

Throws
HttpException

if bearer proxy authorization is not present

Creates new request removing Proxy-Authorization header.

Creates new request removing Proxy-Authorization header.

Creates new request setting Proxy-Authorization header to supplied value.

Creates new request setting Proxy-Authorization header to supplied value.

def setProxyBasic(token: String): HttpRequest

Creates new request with basic proxy authorization.

Creates new request with basic proxy authorization.

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

Creates new request with basic proxy authorization.

Creates new request with basic proxy authorization.

Creates new request with basic proxy authorization.

Creates new request with basic proxy authorization.

def setProxyBearer(token: String): HttpRequest

Creates new request with bearer proxy authorization.

Creates new request with bearer proxy authorization.

Creates new request with bearer proxy authorization.

Creates new request with bearer proxy authorization.