BackgroundAsyncHandler

play.api.libs.ws.ahc.cache.BackgroundAsyncHandler
See theBackgroundAsyncHandler companion object
class BackgroundAsyncHandler[T](request: Request, cache: AhcHttpCache, ahcConfig: AsyncHttpClientConfig) extends AsyncHandler[T]

An async handler that accumulates a response and stores it to cache in the background.

Attributes

Companion
object
Graph
Supertypes
trait AhcUtilities
trait AsyncHandler[T]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def onBodyPartReceived(content: HttpResponseBodyPart): State
override def onCompleted(): T

Attributes

Definition Classes
AsyncHandler
def onHeadersReceived(headers: HttpHeaders): State
def onStatusReceived(status: HttpResponseStatus): State
def onThrowable(t: Throwable): Unit

Inherited methods

def debug(bodyPart: HttpResponseBodyPart): String

Attributes

Inherited from:
Debug (hidden)
def debug[T](ctx: FilterContext[T]): String

Attributes

Inherited from:
Debug (hidden)
def debug[T](handler: AsyncHandler[T]): String

Attributes

Inherited from:
Debug (hidden)
def debug(bodyParts: List[HttpResponseBodyPart]): String

Attributes

Inherited from:
Debug (hidden)
def debug(responseHeaders: HttpHeaders): String

Attributes

Inherited from:
Debug (hidden)
def debug(responseStatus: HttpResponseStatus): String

Attributes

Inherited from:
Debug (hidden)
def debug(response: Response): String

Attributes

Inherited from:
Debug (hidden)
def debug(request: Request): String

Attributes

Inherited from:
Debug (hidden)
def debug(cfg: AsyncHttpClientConfig): String

Attributes

Inherited from:
Debug (hidden)
def headersToMap(headers: HttpHeaders): TreeMap[String, Seq[String]]

Attributes

Inherited from:
AhcUtilities
def onConnectionOffer(x$0: Channel): Unit

Attributes

Inherited from:
AsyncHandler

Attributes

Inherited from:
AsyncHandler
def onConnectionPooled(x$0: Channel): Unit

Attributes

Inherited from:
AsyncHandler
def onHostnameResolutionAttempt(x$0: String): Unit

Attributes

Inherited from:
AsyncHandler
def onHostnameResolutionFailure(x$0: String, x$1: Throwable): Unit

Attributes

Inherited from:
AsyncHandler
def onHostnameResolutionSuccess(x$0: String, x$1: List[InetSocketAddress]): Unit

Attributes

Inherited from:
AsyncHandler
def onRequestSend(x$0: NettyRequest): Unit

Attributes

Inherited from:
AsyncHandler
def onRetry(): Unit

Attributes

Inherited from:
AsyncHandler
def onTcpConnectAttempt(x$0: InetSocketAddress): Unit

Attributes

Inherited from:
AsyncHandler
def onTcpConnectFailure(x$0: InetSocketAddress, x$1: Throwable): Unit

Attributes

Inherited from:
AsyncHandler
def onTcpConnectSuccess(x$0: InetSocketAddress, x$1: Channel): Unit

Attributes

Inherited from:
AsyncHandler
def onTlsHandshakeAttempt(): Unit

Attributes

Inherited from:
AsyncHandler
def onTlsHandshakeFailure(x$0: Throwable): Unit

Attributes

Inherited from:
AsyncHandler
def onTlsHandshakeSuccess(x$0: SSLSession): Unit

Attributes

Inherited from:
AsyncHandler
def onTrailingHeadersReceived(x$0: HttpHeaders): State

Attributes

Inherited from:
AsyncHandler