implicit final class ProxyAuthenticate extends AnyVal
Provides standardized access to Proxy-Authenticate header.
- Alphabetic
- By Inheritance
- ProxyAuthenticate
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ProxyAuthenticate(response: HttpResponse)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getProxyAuthenticate: Option[Seq[Challenge]]
Gets Proxy-Authenticate header values if present.
-
def
getProxyBasic: Option[BasicChallenge]
Gets basic proxy authentication if present.
-
def
getProxyBearer: Option[BearerChallenge]
Gets bearer proxy authentication if present.
-
def
hasProxyAuthenticate: Boolean
Tests for Proxy-Authenticate.
-
def
hasProxyBasic: Boolean
Tests for basic proxy authentication.
-
def
hasProxyBearer: Boolean
Tests for bearer proxy authentication.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
proxyAuthenticate: Seq[Challenge]
Gets Proxy-Authenticate header values.
Gets Proxy-Authenticate header values.
- returns
header values or empty sequence if Proxy-Authenticate is not present
-
def
proxyBasic: BasicChallenge
Gets basic proxy authentication.
Gets basic proxy authentication.
- Exceptions thrown
HttpException
if basic proxy authentication is not present
-
def
proxyBearer: BearerChallenge
Gets bearer proxy authentication.
Gets bearer proxy authentication.
- Exceptions thrown
HttpException
if bearer proxy authentication is not present
-
def
removeProxyAuthenticate: HttpResponse
Creates new response removing Proxy-Authenticate header.
-
def
setProxyAuthenticate(one: Challenge, more: Challenge*): HttpResponse
Creates new response setting Proxy-Authenticate header to supplied values.
-
def
setProxyAuthenticate(values: Seq[Challenge]): HttpResponse
Creates new response setting Proxy-Authenticate header to supplied values.
-
def
setProxyBasic(challenge: BasicChallenge): HttpResponse
Creates new response with basic proxy authentication.
-
def
setProxyBasic(realm: String, params: (String, String)*): HttpResponse
Creates new response with basic proxy authentication.
-
def
setProxyBasic(realm: String, params: Map[String, String]): HttpResponse
Creates new response with basic proxy authentication.
-
def
setProxyBearer(challenge: BearerChallenge): HttpResponse
Creates new response with bearer proxy authentication.
-
def
setProxyBearer(params: (String, String)*): HttpResponse
Creates new response with bearer proxy authentication.
-
def
setProxyBearer(params: Map[String, String]): HttpResponse
Creates new response with bearer proxy authentication.
-
def
toString(): String
- Definition Classes
- Any
Provided herein is API documentation for Scamper, the HTTP library for Scala.