trait ProxyAuthenticateResponseGenerator[F[_], G[_]] extends ResponseGenerator
Helper for the generation of a org.http4s.Response which must contain a Proxy-Authenticate header and may contain a body.
A 407 status MUST contain a Proxy-Authenticate
header, which
distinguishes this from other EntityResponseGenerator
s.
- Source
- ResponseGenerator.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ProxyAuthenticateResponseGenerator
- ResponseGenerator
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
status: Status
- Definition Classes
- ResponseGenerator
Concrete Value Members
- def apply[A](authenticate: Proxy-Authenticate, body: A, headers: Header*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]
- def apply(authenticate: Proxy-Authenticate, headers: Header*)(implicit F: Applicative[F]): F[Response[G]]
Deprecated Value Members
-
def
apply(challenge: Challenge, challenges: Challenge*)(implicit F: Applicative[F]): F[Response[G]]
- Annotations
- @deprecated
- Deprecated
(Since version 0.18.0-M2) Use
(challenge, challenges)apply(
Proxy-Authenticateinstead