A B C D E F G H I J 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.CacheStats - 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
 
CompressionFactory - Interface in io.github.nstdio.http.ext.spi
The strategy to create on-the-fly decompressing InputStream.
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

decompressing(InputStream, String) - Method in interface io.github.nstdio.http.ext.spi.CompressionFactory
Wraps the provided InputStream into stream capable of decompressing CompressionFactory.supported() compression algorithms.
decompressing(InputStream, String) - Method in class io.github.nstdio.http.ext.spi.JdkCompressionFactory
 
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

hit() - Method in interface io.github.nstdio.http.ext.Cache.CacheStats
The number the cache serves stored response.
http.client.ext - module http.client.ext
 

I

IdentityCompressionFactory - Class in io.github.nstdio.http.ext.spi
 
IdentityCompressionFactory() - Constructor for class io.github.nstdio.http.ext.spi.IdentityCompressionFactory
 
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
 
io.github.nstdio.http.ext.spi - package io.github.nstdio.http.ext.spi
 

J

JdkCompressionFactory - Class in io.github.nstdio.http.ext.spi
 
JdkCompressionFactory() - Constructor for class io.github.nstdio.http.ext.spi.JdkCompressionFactory
 

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
 
miss() - Method in interface io.github.nstdio.http.ext.Cache.CacheStats
The number the cache does not have stored response which resulted in network call.
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
 
OptionalBrotliCompressionFactory - Class in io.github.nstdio.http.ext.spi
 
OptionalBrotliCompressionFactory() - Constructor for class io.github.nstdio.http.ext.spi.OptionalBrotliCompressionFactory
 

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
 
stats() - Method in interface io.github.nstdio.http.ext.Cache
Gets the statistics for this cache.
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
 
supported() - Method in interface io.github.nstdio.http.ext.spi.CompressionFactory
The list of supported decompression directives like:
supported() - Method in class io.github.nstdio.http.ext.spi.IdentityCompressionFactory
 
supported() - Method in class io.github.nstdio.http.ext.spi.JdkCompressionFactory
 
supported() - Method in class io.github.nstdio.http.ext.spi.OptionalBrotliCompressionFactory
 

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 J L M N O P S T U V W 
All Classes All Packages