Index
All Classes and Interfaces|All Packages|Serialized Form
B
- basicAuthentication(String, String) - Static method in class com.github.fmjsjx.libnetty.http.HttpCommonUtil
-
Returns the encoded basic authentication string.
- brotli() - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- brotli() - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Enable brotli with default options.
- brotli(BrotliOptions) - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- brotli(BrotliOptions) - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Enable brotli with given options.
- build() - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- build() - Method in class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory.Builder
-
Deprecated.Creates a new
HttpContentCompressorFactorywith the current settings. - build() - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Creates a new
HttpContentCompressorProviderwith the current settings. - builder() - Static method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider
-
Creates a new
DefaultHttpContentCompressorProvider.Builderinstance. - builder() - Static method in class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory
-
Deprecated.Creates a new
HttpContentCompressorFactory.Builder. - builder() - Static method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider
-
Creates a default
HttpContentCompressorProvider.Builderinstance.
C
- com.github.fmjsjx.libnetty.http - package com.github.fmjsjx.libnetty.http
- com.github.fmjsjx.libnetty.http.exception - package com.github.fmjsjx.libnetty.http.exception
- compressionLevel() - Method in class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory
-
Deprecated.Returns the compression level.
- compressionLevel(int) - Method in class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory.Builder
-
Deprecated.Set the compression level.
- contentSizeThreshold() - Method in class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory
-
Deprecated.Returns the content size threshold.
- contentSizeThreshold(int) - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- contentSizeThreshold(int) - Method in class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory.Builder
-
Deprecated.Set the content size threshold.
- contentSizeThreshold(int) - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Set the content size threshold.
- contentType(AsciiString) - Static method in class com.github.fmjsjx.libnetty.http.HttpCommonUtil
-
Returns the
content-typeheader value withUTF-8character set parameter. - contentType(AsciiString, Charset) - Static method in class com.github.fmjsjx.libnetty.http.HttpCommonUtil
-
Returns the
content-typeheader value with the specifiedCharset. - create() - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider
- create() - Method in class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory
-
Deprecated.Creates a new
HttpContentCompressorwith the current settings. - create() - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider
-
Creates and returns a new
HttpContentCompressorinstance.
D
- DefaultHttpContentCompressorProvider - Class in com.github.fmjsjx.libnetty.http
-
The default implementation of
HttpContentCompressorProvider. - DefaultHttpContentCompressorProvider(int, CompressionOptions...) - Constructor for class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider
-
Create a new
DefaultHttpContentCompressorProviderinstance with specifiedCompressionOptionss - DefaultHttpContentCompressorProvider.Builder - Class in com.github.fmjsjx.libnetty.http
-
A builder to build
HttpContentCompressorProviders. - defaultOptions() - Static method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider
-
Returns an apply action that just create builder with default options but do nothing.
- defaultSettings() - Static method in class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory
-
Deprecated.Returns an apply action that just create builder with default settings but do nothing.
- deflate() - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- deflate() - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Enable deflate with default options.
- deflate(DeflateOptions) - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- deflate(DeflateOptions) - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Enable deflate with given options.
- disableBrotli() - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- disableBrotli() - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Disable brotli.
- disableDeflate() - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- disableDeflate() - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Disable deflate.
- disableGzip() - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- disableGzip() - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Disable gzip.
- disableZstd() - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- disableZstd() - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Disable brotli.
E
- errors() - Method in exception com.github.fmjsjx.libnetty.http.exception.MultiErrorsException
-
Returns errors.
G
- get() - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider
-
Get a new
HttpContentCompressorinstance. - gzip() - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- gzip() - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Enable gzip with default options.
- gzip(GzipOptions) - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- gzip(GzipOptions) - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Enable gzip with given options.
H
- HttpCommonUtil - Class in com.github.fmjsjx.libnetty.http
-
Common utility class for HTTP.
- HttpContentCompressorFactory - Class in com.github.fmjsjx.libnetty.http
-
Deprecated.
- HttpContentCompressorFactory() - Constructor for class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory
-
Deprecated.Creates a new factory with the default compression level (
6), default window size (15), default memory level (8) and default content size threshold (1024). - HttpContentCompressorFactory(int) - Constructor for class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory
-
Deprecated.Creates a new factory with the specified compression level, default window size (
15), default memory level (8) and default content size threshold (1024). - HttpContentCompressorFactory(int, int, int) - Constructor for class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory
-
Deprecated.Creates a new factory with the specified compression level, window size, memory level and default content size threshold (
1024). - HttpContentCompressorFactory(int, int, int, int) - Constructor for class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory
-
Deprecated.Creates a new factory with the specified compression level, window size, memory level and content size threshold.
- HttpContentCompressorFactory.Builder - Class in com.github.fmjsjx.libnetty.http
-
Deprecated.
- HttpContentCompressorProvider - Interface in com.github.fmjsjx.libnetty.http
-
Interface to provide
HttpContentCompressors. - HttpContentCompressorProvider.Builder - Interface in com.github.fmjsjx.libnetty.http
-
Interface to build
HttpContentCompressorProvider. - HttpHeaderXNames - Class in com.github.fmjsjx.libnetty.http
-
HTTP header X names.
- HttpRuntimeException - Exception in com.github.fmjsjx.libnetty.http.exception
-
Base HTTP runtime exception.
- HttpRuntimeException(String) - Constructor for exception com.github.fmjsjx.libnetty.http.exception.HttpRuntimeException
-
Constructs a new HTTP runtime exception with the specified detail message.
- HttpRuntimeException(String, Throwable) - Constructor for exception com.github.fmjsjx.libnetty.http.exception.HttpRuntimeException
-
Constructs a new HTTP runtime exception with the specified detail message and cause.
- HttpRuntimeException(Throwable) - Constructor for exception com.github.fmjsjx.libnetty.http.exception.HttpRuntimeException
-
Constructs a new HTTP runtime exception with the specified cause.
I
- isSuccess(HttpResponse) - Static method in class com.github.fmjsjx.libnetty.http.HttpCommonUtil
-
Returns
trueif the status is success,falseotherwise. - isSuccess(HttpResponseStatus) - Static method in class com.github.fmjsjx.libnetty.http.HttpCommonUtil
-
Returns
trueif the status is success,falseotherwise. - isSuccessStatus(int) - Static method in class com.github.fmjsjx.libnetty.http.HttpCommonUtil
-
Returns
trueif the status code is success,falseotherwise.
M
- memLevel() - Method in class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory
-
Deprecated.Returns the memory level.
- memLevel(int) - Method in class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory.Builder
-
Deprecated.Set the memory level, how much memory should be allocated for the internal compression state.
- MultiErrorsException - Exception in com.github.fmjsjx.libnetty.http.exception
-
An exception holding multiply errors.
- MultiErrorsException(String, Throwable...) - Constructor for exception com.github.fmjsjx.libnetty.http.exception.MultiErrorsException
-
Constructs a new
MultiErrorsExceptionwith the specified detail message and errors.
R
- remoteAddress(Channel, HttpHeaders) - Static method in class com.github.fmjsjx.libnetty.http.HttpCommonUtil
-
Returns remote address from specified
channelandheaderson server side.
T
- toString() - Method in class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory
-
Deprecated.
W
- windowBits() - Method in class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory
-
Deprecated.Returns the window size.
- windowBits(int) - Method in class com.github.fmjsjx.libnetty.http.HttpContentCompressorFactory.Builder
-
Deprecated.Set the window bits, the base two logarithm of the size of the history buffer.
X
- X_FORWARDED_FOR - Static variable in class com.github.fmjsjx.libnetty.http.HttpHeaderXNames
-
"x-forwarded-for" - X_FORWARDED_HOST - Static variable in class com.github.fmjsjx.libnetty.http.HttpHeaderXNames
-
"x-forwarded-host" - X_FORWARDED_PROTO - Static variable in class com.github.fmjsjx.libnetty.http.HttpHeaderXNames
-
"x-forwarded-proto" - X_REAL_IP - Static variable in class com.github.fmjsjx.libnetty.http.HttpHeaderXNames
-
"x-real-ip"
Z
- zstd() - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- zstd() - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Enable zstd with default options.
- zstd(ZstdOptions) - Method in class com.github.fmjsjx.libnetty.http.DefaultHttpContentCompressorProvider.Builder
- zstd(ZstdOptions) - Method in interface com.github.fmjsjx.libnetty.http.HttpContentCompressorProvider.Builder
-
Enable brotli with given options.
All Classes and Interfaces|All Packages|Serialized Form
DefaultHttpContentCompressorProviderinstead