A B C D E F G H I M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- authenticator() - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
- authenticator(Authenticator) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
B
- BodyHandlers - Class in io.github.nstdio.http.ext
-
Implementations of
BodyHandler
's. - BodyHandlers.DecompressingBodyHandlerBuilder - Class in io.github.nstdio.http.ext
-
The builder for decompressing body handler.
- build() - Method in class io.github.nstdio.http.ext.BodyHandlers.DecompressingBodyHandlerBuilder
-
Creates the new decompressing body handler.
- build() - Method in interface io.github.nstdio.http.ext.Cache.CacheBuilder
- build() - Method in class io.github.nstdio.http.ext.Cache.InMemoryCacheBuilder
- build() - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
- build() - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
- builder() - Static method in class io.github.nstdio.http.ext.CacheControl
C
- cache(Cache) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
-
Sets the cache.
- Cache - Interface in io.github.nstdio.http.ext
- Cache.CacheBuilder - Interface in io.github.nstdio.http.ext
- Cache.CacheEntry - Interface in io.github.nstdio.http.ext
- Cache.InMemoryCacheBuilder - Class in io.github.nstdio.http.ext
- Cache.Writer<T> - Interface in io.github.nstdio.http.ext
- CacheControl - Class in io.github.nstdio.http.ext
- CacheControl.CacheControlBuilder - Class in io.github.nstdio.http.ext
- CacheEntryMetadata - Class in io.github.nstdio.http.ext
- connectTimeout() - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
- connectTimeout(Duration) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
- cookieHandler() - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
- cookieHandler(CookieHandler) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
D
- DecompressingBodyHandlerBuilder() - Constructor for class io.github.nstdio.http.ext.BodyHandlers.DecompressingBodyHandlerBuilder
- decompressingBuilder() - Static method in class io.github.nstdio.http.ext.BodyHandlers
-
Creates new
DecompressingBodyHandlerBuilder
instance.
E
- evict(HttpRequest) - Method in interface io.github.nstdio.http.ext.Cache
-
Evicts cache entry (if any) associated with
request
. - evictAll() - Method in interface io.github.nstdio.http.ext.Cache
-
Removes all cache entries.
- evictAll(HttpRequest) - Method in interface io.github.nstdio.http.ext.Cache
-
Evicts all cache entries associated with
request
. - executor() - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
- executor(Executor) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
- ExtendedHttpClient - Class in io.github.nstdio.http.ext
- ExtendedHttpClient.Builder - Class in io.github.nstdio.http.ext
F
- failOnUnknownDirectives(boolean) - Method in class io.github.nstdio.http.ext.BodyHandlers.DecompressingBodyHandlerBuilder
-
Sets whether throw exception when unknown compression directive encountered or not.
- failOnUnsupportedDirectives(boolean) - Method in class io.github.nstdio.http.ext.BodyHandlers.DecompressingBodyHandlerBuilder
-
Sets whether throw exception when compression directive not supported or not.
- finisher() - Method in interface io.github.nstdio.http.ext.Cache.Writer
-
The consumer to be invoked after response body fully read.
- followRedirects() - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
- followRedirects(HttpClient.Redirect) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
- FORCE_CACHE - Static variable in class io.github.nstdio.http.ext.CacheControl
G
- get(HttpRequest) - Method in interface io.github.nstdio.http.ext.Cache
-
Gets the cache entry associated with
request
.
H
- http.client.ext - module http.client.ext
I
- io.github.nstdio.http.ext - package io.github.nstdio.http.ext
M
- maxAge() - Method in class io.github.nstdio.http.ext.CacheControl
- maxAge(long) - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
- maxAge(TimeUnit) - Method in class io.github.nstdio.http.ext.CacheControl
- maxItems(int) - Method in class io.github.nstdio.http.ext.Cache.InMemoryCacheBuilder
-
The maximum number of cache entries.
- maxStale() - Method in class io.github.nstdio.http.ext.CacheControl
- maxStale(long) - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
- maxStale(TimeUnit) - Method in class io.github.nstdio.http.ext.CacheControl
- metadata() - Method in interface io.github.nstdio.http.ext.Cache.CacheEntry
- minFresh() - Method in class io.github.nstdio.http.ext.CacheControl
- minFresh(long) - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
- minFresh(TimeUnit) - Method in class io.github.nstdio.http.ext.CacheControl
- mustRevalidate() - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
- mustRevalidate() - Method in class io.github.nstdio.http.ext.CacheControl
N
- newBuilder() - Static method in class io.github.nstdio.http.ext.ExtendedHttpClient
-
Creates a new
ExtendedHttpClient
builder. - newInMemoryCacheBuilder() - Static method in interface io.github.nstdio.http.ext.Cache
-
Creates a new
InMemoryCacheBuilder
instance. - newWebSocketBuilder() - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
- noCache() - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
- noCache() - Method in class io.github.nstdio.http.ext.CacheControl
- noop() - Static method in interface io.github.nstdio.http.ext.Cache
-
Gets the
Cache
effectively does not do anything. - noStore() - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
- noStore() - Method in class io.github.nstdio.http.ext.CacheControl
- noTransform() - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
- noTransform() - Method in class io.github.nstdio.http.ext.CacheControl
O
- of(HttpHeaders) - Static method in class io.github.nstdio.http.ext.CacheControl
- of(HttpRequest) - Static method in class io.github.nstdio.http.ext.CacheControl
- ofDecompressing() - Static method in class io.github.nstdio.http.ext.BodyHandlers
-
Wraps response body
InputStream
in on-the-fly decompressingInputStream
in accordance with Content-Encoding header semantics. - onlyIfCached() - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
- onlyIfCached() - Method in class io.github.nstdio.http.ext.CacheControl
P
- parse(String) - Static method in class io.github.nstdio.http.ext.CacheControl
- Predicates - Class in io.github.nstdio.http.ext
-
The request/response predicates to use with
Cache.InMemoryCacheBuilder.requestFilter(Predicate)
andCache.InMemoryCacheBuilder.responseFilter(Predicate)
. - priority(int) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
- proxy() - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
- proxy(ProxySelector) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
- put(HttpRequest, Cache.CacheEntry) - Method in interface io.github.nstdio.http.ext.Cache
-
Associates
request
withentry
and stores it in this cache.
R
- requestFilter(Predicate<HttpRequest>) - Method in class io.github.nstdio.http.ext.Cache.InMemoryCacheBuilder
-
Adds given predicate to predicated chain.
- responseFilter(Predicate<HttpResponse.ResponseInfo>) - Method in class io.github.nstdio.http.ext.Cache.InMemoryCacheBuilder
-
Adds given predicate to predicated chain.
S
- send(HttpRequest, HttpResponse.BodyHandler<T>) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
- sendAsync(HttpRequest, HttpResponse.BodyHandler<T>) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
- sendAsync(HttpRequest, HttpResponse.BodyHandler<T>, HttpResponse.PushPromiseHandler<T>) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
- size(long) - Method in class io.github.nstdio.http.ext.Cache.InMemoryCacheBuilder
-
The amount of bytes allowed to be stored.
- sslContext() - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
- sslContext(SSLContext) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
- sslParameters() - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
- sslParameters(SSLParameters) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
- subscriber() - Method in interface io.github.nstdio.http.ext.Cache.Writer
-
The body subscriber to collect response body.
- subscribeTo(Flow.Subscriber<List<ByteBuffer>>) - Method in interface io.github.nstdio.http.ext.Cache.CacheEntry
T
- toString() - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
- toString() - Method in class io.github.nstdio.http.ext.CacheControl
U
- uri(URI) - Static method in class io.github.nstdio.http.ext.Predicates
-
The
Predicate
that matchesHttpRequest
s with givenuri
.
V
- version() - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
- version(HttpClient.Version) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
W
- writer(CacheEntryMetadata) - Method in interface io.github.nstdio.http.ext.Cache
-
Creates a
Writer
.
All Classes All Packages