AsyncCacheableConnection

play.api.libs.ws.ahc.cache.AsyncCacheableConnection
See theAsyncCacheableConnection companion object
class AsyncCacheableConnection[T](asyncHandler: AsyncHandler[T], request: Request, response: CacheableResponse, future: ListenableFuture[T]) extends Callable[T]

Calls the relevant methods on the async handler, providing it with the cached response.

Attributes

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

Members list

Value members

Concrete methods

override def call(): T

Attributes

Definition Classes
Callable
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

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