A B C D E F G H I J K L M N O P R S T U V W 
All Classes All Packages

A

addProvider(JsonMappingProvider) - Static method in interface io.github.nstdio.http.ext.spi.JsonMappingProvider
Adds provider.
allowInsecure(boolean) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
Sets the flag whether client accept requests with http scheme.
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
Creates a Cache instance.
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
The strategy for creating cache instances.
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.EncryptedDiskCacheBuilder - Class in io.github.nstdio.http.ext
The Cache.DiskCacheBuilder that will create Cache that maintains all files in encrypted manner.
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
 
cipherAlgorithm(String) - Method in class io.github.nstdio.http.ext.Cache.EncryptedDiskCacheBuilder
The cipher algorithm to use.
Classpath - Class in io.github.nstdio.http.ext.spi
 
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.
defaultHeader(String, String) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
Provided header will be included on each request.
defaultHeader(String, Supplier<String>) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
Provided header will be included on each request.
dir(Path) - Method in class io.github.nstdio.http.ext.Cache.DiskCacheBuilder
Sets the directory to store cache files.

E

encrypted() - Method in class io.github.nstdio.http.ext.Cache.DiskCacheBuilder
Creates a new EncryptedDiskCacheBuilder instance which will create Cache that stores all cache files encrypted by provided keys.
encrypted() - Method in class io.github.nstdio.http.ext.Cache.EncryptedDiskCacheBuilder
Creates a new EncryptedDiskCacheBuilder instance which will create Cache that stores all cache files encrypted by provided keys.
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() - Method in interface io.github.nstdio.http.ext.spi.JsonMappingProvider
Returns an instance of JsonMapping.
get(HttpRequest) - Method in interface io.github.nstdio.http.ext.Cache
Gets the cache entry associated with request.
GsonJsonMapping - Class in io.github.nstdio.http.ext.spi
 
GsonJsonMapping(Gson) - Constructor for class io.github.nstdio.http.ext.spi.GsonJsonMapping
 

H

hasHeader(String) - Static method in class io.github.nstdio.http.ext.Predicates
The Predicate that matches only HttpRequest with given header.
hasHeader(String, String) - Static method in class io.github.nstdio.http.ext.Predicates
The Predicate that matches only HttpResponse with given header.
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
 
isBrotli4jPresent() - Static method in class io.github.nstdio.http.ext.spi.Classpath
 
isGsonPresent() - Static method in class io.github.nstdio.http.ext.spi.Classpath
 
isJacksonPresent() - Static method in class io.github.nstdio.http.ext.spi.Classpath
 
isOrgBrotliPresent() - Static method in class io.github.nstdio.http.ext.spi.Classpath
 
isPresent(String) - Static method in class io.github.nstdio.http.ext.spi.Classpath
 

J

JacksonJsonMapping - Class in io.github.nstdio.http.ext.spi
 
JacksonJsonMapping(ObjectMapper) - Constructor for class io.github.nstdio.http.ext.spi.JacksonJsonMapping
 
JdkCompressionFactory - Class in io.github.nstdio.http.ext.spi
 
JdkCompressionFactory() - Constructor for class io.github.nstdio.http.ext.spi.JdkCompressionFactory
 
JsonMapping - Interface in io.github.nstdio.http.ext.spi
The simple strategy for binding JSON to Java objects.
JsonMappingProvider - Interface in io.github.nstdio.http.ext.spi
The SPI to for JsonMapping.
JsonMappingProviderNotFoundException - Exception in io.github.nstdio.http.ext.spi
Thrown to indicate that requested JsonMappingProvider is not found.
JsonMappingProviderNotFoundException(String) - Constructor for exception io.github.nstdio.http.ext.spi.JsonMappingProviderNotFoundException
 

K

key(SecretKey) - Method in class io.github.nstdio.http.ext.Cache.EncryptedDiskCacheBuilder
The secret key to encrypt/decrypt all files that this cache maintains.

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
 
mustUnderstand() - Method in class io.github.nstdio.http.ext.CacheControl.CacheControlBuilder
 
mustUnderstand() - 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(JsonMapping, 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
privateKey(PrivateKey) - Method in class io.github.nstdio.http.ext.Cache.EncryptedDiskCacheBuilder
Sets the private key to use.
provider() - Static method in interface io.github.nstdio.http.ext.spi.JsonMappingProvider
Finds the first available JsonMappingProvider.
provider(String) - Method in class io.github.nstdio.http.ext.Cache.EncryptedDiskCacheBuilder
The Provider name to use.
provider(String) - Static method in interface io.github.nstdio.http.ext.spi.JsonMappingProvider
Finds the JsonMappingProvider with given name.
proxy() - Method in class io.github.nstdio.http.ext.ExtendedHttpClient
 
proxy(ProxySelector) - Method in class io.github.nstdio.http.ext.ExtendedHttpClient.Builder
publicKey(PublicKey) - Method in class io.github.nstdio.http.ext.Cache.EncryptedDiskCacheBuilder
Sets the public key to use.
put(HttpRequest, Cache.CacheEntry) - Method in interface io.github.nstdio.http.ext.Cache
Associates request with entry and stores it in this cache.

R

read(byte[], Class<T>) - Method in class io.github.nstdio.http.ext.spi.GsonJsonMapping
 
read(byte[], Class<T>) - Method in class io.github.nstdio.http.ext.spi.JacksonJsonMapping
 
read(byte[], Class<T>) - Method in interface io.github.nstdio.http.ext.spi.JsonMapping
Reads JSON data from the bytes and creates mapped object of type targetType.
read(byte[], Type) - Method in class io.github.nstdio.http.ext.spi.GsonJsonMapping
 
read(byte[], Type) - Method in class io.github.nstdio.http.ext.spi.JacksonJsonMapping
 
read(byte[], Type) - Method in interface io.github.nstdio.http.ext.spi.JsonMapping
Reads JSON data from the bytes and creates mapped object of type targetType.
read(InputStream, Class<T>) - Method in class io.github.nstdio.http.ext.spi.GsonJsonMapping
 
read(InputStream, Class<T>) - Method in class io.github.nstdio.http.ext.spi.JacksonJsonMapping
 
read(InputStream, Class<T>) - Method in interface io.github.nstdio.http.ext.spi.JsonMapping
Reads JSON data from the in and creates mapped object of type targetType.
read(InputStream, Type) - Method in class io.github.nstdio.http.ext.spi.GsonJsonMapping
 
read(InputStream, Type) - Method in class io.github.nstdio.http.ext.spi.JacksonJsonMapping
 
read(InputStream, Type) - Method in interface io.github.nstdio.http.ext.spi.JsonMapping
Reads JSON data from the in and creates mapped object of type targetType.
removeProvider(String) - Static method in interface io.github.nstdio.http.ext.spi.JsonMappingProvider
Removes provider with name name.

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