Package | Description |
---|---|
org.apache.hc.client5.http.cache |
Caching APIs for both the classic and the asynchronous
HTTP transports.
|
Modifier and Type | Method and Description |
---|---|
static HttpCacheContext |
HttpCacheContext.adapt(org.apache.hc.core5.http.protocol.HttpContext context)
Deprecated.
|
HttpCacheContext |
CacheContextBuilder.build() |
static HttpCacheContext |
HttpCacheContext.cast(org.apache.hc.core5.http.protocol.HttpContext context)
Casts the given generic
HttpContext as HttpCacheContext or
throws an IllegalStateException if the given context is not suitable. |
static HttpCacheContext |
HttpCacheContext.castOrCreate(org.apache.hc.core5.http.protocol.HttpContext context)
Casts the given generic
HttpContext as HttpCacheContext or
creates new HttpCacheContext if the given context is null.. |
static HttpCacheContext |
HttpCacheContext.create() |
protected HttpCacheContext |
CacheContextBuilder.createContext() |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.