A B C D E F G H I L M N O P S T U V W 
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.
bodySize() - Method in interface io.github.nstdio.http.ext.Cache.CacheEntry
 
BodySubscribers - Class in io.github.nstdio.http.ext
 
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.DiskCacheBuilder
 
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
 
build(HttpResponse.BodyHandler<T>) - Method in class io.github.nstdio.http.ext.BodyHandlers.DecompressingBodyHandlerBuilder
Creates the new decompressing body handler.
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.DiskCacheBuilder - Class in io.github.nstdio.http.ext
The builder for in persistent cache.
Cache.InMemoryCacheBuilder - Class in io.github.nstdio.http.ext
The builder for in memory cache.
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.
dir(Path) - Method in class io.github.nstdio.http.ext.Cache.DiskCacheBuilder
Sets the directory to store cache files.

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

immutable() - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
 
immutable() - Method in class io.github.nstdio.http.ext.CacheControl
 
io.github.nstdio.http.ext - package io.github.nstdio.http.ext
 

L

lenient(boolean) - Method in class io.github.nstdio.http.ext.BodyHandlers.DecompressingBodyHandlerBuilder
 

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
 
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.
newDiskCacheBuilder() - Static method in interface io.github.nstdio.http.ext.Cache
Creates a new DiskCacheBuilder instance.
newHttpClient() - Static method in class io.github.nstdio.http.ext.ExtendedHttpClient
Create a new ExtendedHttpClient with in memory cache and transparent encoding enabled.
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 decompressing InputStream in accordance with Content-Encoding header semantics.
ofDecompressing(HttpResponse.BodyHandler<T>) - Static method in class io.github.nstdio.http.ext.BodyHandlers
 
ofJson(TypeReference<T>) - Static method in class io.github.nstdio.http.ext.BodyHandlers
Creates body handler to map JSON response to targetType.
ofJson(TypeReference<T>) - Static method in class io.github.nstdio.http.ext.BodySubscribers
 
ofJson(ObjectMapper, TypeReference<T>) - Static method in class io.github.nstdio.http.ext.BodySubscribers
 
ofJson(ObjectMapper, Class<T>) - Static method in class io.github.nstdio.http.ext.BodySubscribers
 
ofJson(Class<T>) - Static method in class io.github.nstdio.http.ext.BodyHandlers
Creates body handler to map JSON response to targetType.
ofJson(Class<T>) - Static method in class io.github.nstdio.http.ext.BodySubscribers
 
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 ConstrainedCacheBuilder.requestFilter(Predicate) and ConstrainedCacheBuilder.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 with entry and stores it in this cache.

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
 
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
staleIfError() - Method in class io.github.nstdio.http.ext.CacheControl
 
staleIfError(long) - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
 
staleIfError(TimeUnit) - Method in class io.github.nstdio.http.ext.CacheControl
 
staleWhileRevalidate() - Method in class io.github.nstdio.http.ext.CacheControl
 
staleWhileRevalidate(long) - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
 
staleWhileRevalidate(TimeUnit) - Method in class io.github.nstdio.http.ext.CacheControl
 
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
 
transparentEncoding(boolean) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
Sets the flag whether automatically decompress response or not.

U

uri(URI) - Static method in class io.github.nstdio.http.ext.Predicates
The Predicate that matches HttpRequests with given uri.

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.
A B C D E F G H I L M N O P S T U V W 
All Classes All Packages