A B C D E F G H I J K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractUser(String) - Constructor for class com.github.fmjsjx.libnetty.http.server.HttpServer.AbstractUser
- acceptCause(Throwable) - Method in class com.github.fmjsjx.libnetty.http.server.component.SimpleExceptionHandler
-
Returns
trueif the givencauseshould be handled. - AccessLogger - Class in com.github.fmjsjx.libnetty.http.server.middleware
-
A
Middlewarelogging HTTP access logs. - AccessLogger() - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger
- AccessLogger(AccessLogger.LogFormat) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger
- AccessLogger(AccessLogger.LoggerWrapper, AccessLogger.LogFormat) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger
- AccessLogger(AccessLogger.LoggerWrapper, String) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger
- AccessLogger(String) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger
- AccessLogger.FunctionalLoggerWrapper - Class in com.github.fmjsjx.libnetty.http.server.middleware
- AccessLogger.LogFormat - Enum in com.github.fmjsjx.libnetty.http.server.middleware
-
Some pre-defined log formats.
- AccessLogger.LoggerWrapper - Interface in com.github.fmjsjx.libnetty.http.server.middleware
- AccessLogger.Slf4jLoggerWrapper - Class in com.github.fmjsjx.libnetty.http.server.middleware
- AccessLogger.StderrLoggerWrapper - Class in com.github.fmjsjx.libnetty.http.server.middleware
- AccessLogger.StdoutLoggerWrapper - Class in com.github.fmjsjx.libnetty.http.server.middleware
- add(HttpServiceInvoker, String, HttpMethod...) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.Router
-
Add a new HTTP route with given parameters.
- add(Middleware) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
- add(String, HttpServiceInvoker) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.Router
-
Add a new "all method allowed" route with specified path and service.
- add(String, Middleware) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
- add(String, HttpMethod, HttpServiceInvoker) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.Router
-
Add a new HTTP route with given parameters.
- add(Predicate<String>, Middleware) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
- addFirst(Middleware) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
- addFirst(String, Middleware) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
- addFirst(Predicate<String>, Middleware) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
- addHeaders(Consumer<HttpHeaders>) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set the function to add HTTP response headers.
- addHeaders(Consumer<HttpHeaders>) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.Options
-
Set the function set custom headers on response.
- addHeaders(Consumer<HttpHeaders>, boolean) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set the function to add HTTP response headers.
- addLast(Middleware...) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
- addLast(String, Middleware) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
- addLast(Predicate<String>, Middleware) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
- address() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Returns the network address to which the server should bind.
- address(InetAddress) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set the network address to which the server should bind
- alloc() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Return the assigned
ByteBufAllocatorwhich will be used to allocateByteBufs. - any() - Static method in interface com.github.fmjsjx.libnetty.http.server.middleware.MethodMatcher
-
Returns the singleton matcher
MethodMatcher.ANY_METHOD. - ANY_METHOD - Static variable in interface com.github.fmjsjx.libnetty.http.server.middleware.MethodMatcher
-
Matches any method.
- apply(HttpRequestContext) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpServiceInvoker
-
Applies this function to the given context.
- apply(HttpRequestContext) - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.MiddlewareChain
-
Applies this
MiddlewareChainto the givenHttpRequestContext. - apply(HttpRequestContext, MiddlewareChain) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger
- apply(HttpRequestContext, MiddlewareChain) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.AuthBasic
- apply(HttpRequestContext, MiddlewareChain) - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.Middleware
-
Apply this
Middlewareto the givenHttpRequestContext. - apply(HttpRequestContext, MiddlewareChain) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.PathFilterMiddleware
- apply(HttpRequestContext, MiddlewareChain) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.RequestValidator
- apply(HttpRequestContext, MiddlewareChain) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.Router
- apply(HttpRequestContext, MiddlewareChain) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic
- apply(HttpRequestContext, MiddlewareChain) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.SupportJson
-
Deprecated.
- applyCompressionSettings(Consumer<HttpContentCompressorFactory.Builder>) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Enable HTTP content compression feature and apply compression settings.
- AuthBasic - Class in com.github.fmjsjx.libnetty.http.server.middleware
-
A
Middlewareallows limiting access to resources by validating the user name and password using the "HTTP Basic Authentication" protocol. - AuthBasic(BiPredicate<String, String>, String) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AuthBasic
-
Constructs a new
AuthBasicwith the specified validator and realm. - AuthBasic(Map<String, String>, String) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AuthBasic
-
Constructs a new
AuthBasicwith the specified users and realm. - AuthBasic.BasicUser - Class in com.github.fmjsjx.libnetty.http.server.middleware
-
A
HttpServer.Userholding the username parsed from the "HTTP Basic Authentication" protocol. - AutoReadNextHandler - Class in com.github.fmjsjx.libnetty.http.server
-
A special
ChannelOutboundHandlerwhich support theAUTO_READfeature for kept aliveChannels which just send aFullHttpResponseto client. - AutoReadNextHandler() - Constructor for class com.github.fmjsjx.libnetty.http.server.AutoReadNextHandler
B
- BadRequestException - Exception in com.github.fmjsjx.libnetty.http.server.exception
-
HTTP exception for 404 Bad Request.
- BadRequestException(Throwable) - Constructor for exception com.github.fmjsjx.libnetty.http.server.exception.BadRequestException
-
Constructs a new HTTP bad request exception with the specified cause.
- BASIC - com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.LogFormat
-
Basic log output.
- BASIC - Static variable in interface com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.EtagGenerator
-
The basic generator.
- BASIC2 - com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.LogFormat
-
Another basic log output, make result length human readable.
- BasicUser(String) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AuthBasic.BasicUser
-
Constructs a new
AuthBasic.BasicUserinstance with the specifiedusername. - body() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the content body of the HTTP request.
- build(String) - Static method in interface com.github.fmjsjx.libnetty.http.server.PathPattern
-
Build a new
PathPatternfrom HTTP path pattern. - build(String) - Static method in class com.github.fmjsjx.libnetty.http.server.PathPatternUtil
-
Build a new
PathPatternfrom HTTP path pattern. - build(String, boolean) - Static method in class com.github.fmjsjx.libnetty.http.server.PathPatternUtil
-
Build a new
PathPatternfrom HTTP path pattern.
C
- cacheControl(String) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.Options
-
Set cacheControl.
- channel() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
- channel() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the
Channelwhich is bound to theHttpRequestContext. - channel() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpServer
-
Returns the binding
ServerChannel. - channelRead0(ChannelHandlerContext, HttpRequestContext) - Method in class com.github.fmjsjx.libnetty.http.server.HttpRequestContextHandler
- childOption(ChannelOption<T>, T) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Allow to specify a
ChannelOptionwhich is used for theChannelinstances once they get created (after the acceptor accepted theChannel). - close() - Method in interface com.github.fmjsjx.libnetty.http.server.component.HttpServerComponent
-
Closes this
HttpServerComponentand releases any system resources associated with it. - close() - Method in interface com.github.fmjsjx.libnetty.http.server.component.WorkerPool
- close() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
-
Close this provider and trigger
DefaultHttpServerHandler.onServerClosed(). - close() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpServerHandlerProvider
-
Close this provider and releases any system resources associated with it.
- close() - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.Middleware
-
Closes this
Middlewareand releases any system resources associated with it. - com.github.fmjsjx.libnetty.http.server - package com.github.fmjsjx.libnetty.http.server
- com.github.fmjsjx.libnetty.http.server.annotation - package com.github.fmjsjx.libnetty.http.server.annotation
- com.github.fmjsjx.libnetty.http.server.component - package com.github.fmjsjx.libnetty.http.server.component
- com.github.fmjsjx.libnetty.http.server.exception - package com.github.fmjsjx.libnetty.http.server.exception
- com.github.fmjsjx.libnetty.http.server.middleware - package com.github.fmjsjx.libnetty.http.server.middleware
- COMBINED - com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.LogFormat
-
Standard Apache combined log output.
- COMMON - com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.LogFormat
-
Standard Apache common log output.
- component(HttpServerComponent) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set an
HttpServerComponent. - component(Class<? extends C>) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the component with the specified
componentType. - componentType() - Method in interface com.github.fmjsjx.libnetty.http.server.component.ExceptionHandler
- componentType() - Method in interface com.github.fmjsjx.libnetty.http.server.component.HttpServerComponent
-
Returns the type of the component.
- componentType() - Method in interface com.github.fmjsjx.libnetty.http.server.component.JsonLibrary
- componentType() - Method in interface com.github.fmjsjx.libnetty.http.server.component.WorkerPool
- ComponentValue - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation that indicates method parameter should be bound to some component value of the HTTP server.
- CONNECT - com.github.fmjsjx.libnetty.http.server.HttpMethodWrapper
-
The CONNECT method.
- content() - Method in exception com.github.fmjsjx.libnetty.http.server.exception.ManualHttpFailureException
-
Returns the response content string.
- contentLength() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the length of the HTTP request body content.
- contentType() - Method in exception com.github.fmjsjx.libnetty.http.server.exception.ManualHttpFailureException
-
Returns the response content type.
- contentType() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the type of the HTTP request body content.
- corsConfig(CorsConfig) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set the
CorsConfigof this server. - create(HttpResponseStatus) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext.HttpResponseFactory
-
Creates a new
HttpResponseinstance with the specified status. - createFull(HttpResponseStatus) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext.HttpResponseFactory
-
Creates a new
FullHttpResponseinstance with the specified status andEMPTYcontent. - createFull(HttpResponseStatus, ByteBuf, int, CharSequence) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext.HttpResponseFactory
-
Creates a new
FullHttpResponseinstance with the specified status and content. - createFull(HttpResponseStatus, ByteBuf, CharSequence) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext.HttpResponseFactory
-
Creates a new
FullHttpResponseinstance with the specified status and content. - createFullText(HttpResponseStatus) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext.HttpResponseFactory
-
Creates a new
FullHttpResponseinstance with the specified status and the content be same with status astext/plain. - createFullText(HttpResponseStatus, Charset) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext.HttpResponseFactory
-
Creates a new
FullHttpResponseinstance with the specified status and the content be same with status astext/plain.
D
- defaultHandlerProvider() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Use and returns the
DefaultHttpServerHandlerProviderfor this server. - DefaultHttpResult - Class in com.github.fmjsjx.libnetty.http.server
-
Default implementation of
HttpResult. - DefaultHttpResult(HttpRequestContext, long, HttpResponseStatus) - Constructor for class com.github.fmjsjx.libnetty.http.server.DefaultHttpResult
-
Creates a new
DefaultHttpResultinstance with the specified params given. - DefaultHttpResult(HttpRequestContext, long, HttpResponseStatus, long, ZonedDateTime) - Constructor for class com.github.fmjsjx.libnetty.http.server.DefaultHttpResult
-
Creates a new
DefaultHttpResultinstance with the specified params given. - DefaultHttpServer - Class in com.github.fmjsjx.libnetty.http.server
-
The default implementation of
HttpServer. - DefaultHttpServer() - Constructor for class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Constructs a new
DefaultHttpServerwith the default HTTP port (80). - DefaultHttpServer(int) - Constructor for class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Constructs a new
DefaultHttpServerwith the specifiedport. - DefaultHttpServer(SslContextProvider) - Constructor for class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Constructs a new
DefaultHttpServerwith the specifiedsslContextProviderand default HTTPs port (443). - DefaultHttpServer(String) - Constructor for class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
- DefaultHttpServer(String, int) - Constructor for class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
- DefaultHttpServer(String, SslContextProvider) - Constructor for class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Constructs a new
DefaultHttpServerwith the specifiedname,sslContextProviderand default HTTPs port (443). - DefaultHttpServer(String, SslContextProvider, int) - Constructor for class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
- DefaultHttpServerHandlerProvider - Class in com.github.fmjsjx.libnetty.http.server
-
The default implementation of
HttpServerHandlerProvider. - DefaultHttpServerHandlerProvider() - Constructor for class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
- defaultObjectMapper() - Static method in class com.github.fmjsjx.libnetty.http.server.component.Jackson2JsonLibrary
- DefaultPathVariables - Class in com.github.fmjsjx.libnetty.http.server
-
The default implementation of
PathVariables. - DefaultPathVariables() - Constructor for class com.github.fmjsjx.libnetty.http.server.DefaultPathVariables
-
Constructs a new
DefaultPathVariables. - DefaultPathVariables(Map<String, String>) - Constructor for class com.github.fmjsjx.libnetty.http.server.DefaultPathVariables
-
Constructs a new
DefaultPathVariableswith the given map. - DefaultWorkerPool - Class in com.github.fmjsjx.libnetty.http.server.component
-
The default implementation of
WorkerPool. - DefaultWorkerPool() - Constructor for class com.github.fmjsjx.libnetty.http.server.component.DefaultWorkerPool
- DefaultWorkerPool(int) - Constructor for class com.github.fmjsjx.libnetty.http.server.component.DefaultWorkerPool
- DefaultWorkerPool(int, int) - Constructor for class com.github.fmjsjx.libnetty.http.server.component.DefaultWorkerPool
- DefaultWorkerPool(int, int, BlockingQueue<Runnable>) - Constructor for class com.github.fmjsjx.libnetty.http.server.component.DefaultWorkerPool
- delete(String, HttpServiceInvoker) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.Router
-
Add a new HTTP DELETE route with specified path and service.
- DELETE - com.github.fmjsjx.libnetty.http.server.HttpMethodWrapper
-
The DELETE method.
- DEV - com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.LogFormat
-
Concise output colored by response status for development use.
- disableSsl() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Disable SSL support.
- doNext(HttpRequestContext) - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.MiddlewareChain
-
Invoke the next
Middlewarein the chain.
E
- empty() - Static method in interface com.github.fmjsjx.libnetty.http.server.PathVariables
-
Returns the empty
PathVariablesinstances. - EMPTY - Static variable in interface com.github.fmjsjx.libnetty.http.server.PathVariables
-
Deprecated.please use
PathVariables.empty()instead since 2.0 - enableSsl(SslContextProvider) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Enable SSL support and set the
SslContextProvider. - eq(HttpMethod) - Static method in interface com.github.fmjsjx.libnetty.http.server.middleware.MethodMatcher
-
Returns a matcher that checks if the specified method and coming method is equal.
- etag(boolean) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.Options
-
Set if
E-TAGis enabled or not. - etagGenerator(ServeStatic.EtagGenerator) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.Options
-
Set the function to generate
E-TAGs. - eventLoop() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Return the
EventLoopthisChannelwas registered to. - exceptionHandler(BiConsumer<ChannelHandlerContext, Throwable>) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
- ExceptionHandler - Interface in com.github.fmjsjx.libnetty.http.server.component
-
Defines a handler to handle exceptions.
- executor() - Method in class com.github.fmjsjx.libnetty.http.server.component.DefaultWorkerPool
- executor() - Method in interface com.github.fmjsjx.libnetty.http.server.component.WorkerPool
-
Returns the executor.
- executor() - Method in class com.github.fmjsjx.libnetty.http.server.component.WrappedWorkerPool
- exists(String) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultPathVariables
- exists(String) - Method in interface com.github.fmjsjx.libnetty.http.server.PathVariables
-
Returns if the path variable by the name given exists.
F
- failureStatus() - Method in class com.github.fmjsjx.libnetty.http.server.middleware.RequestValidator
-
Returns the status when validation failed.
- from(PathPattern) - Static method in interface com.github.fmjsjx.libnetty.http.server.middleware.PathMatcher
-
Returns a new
PathMatcherfrom specifiedPathPattern. - fromPattern(String) - Static method in interface com.github.fmjsjx.libnetty.http.server.middleware.PathMatcher
-
Returns a new
PathMatcherfrom specified path pattern - FunctionalLoggerWrapper(Consumer<String>) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.FunctionalLoggerWrapper
- FunctionalLoggerWrapper(Consumer<String>, BooleanSupplier) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.FunctionalLoggerWrapper
G
- generate(Path, BasicFileAttributes) - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.EtagGenerator
-
Generate the
E-TAG. - get() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
- get() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpServerHandlerProvider
-
Returns a
HttpServerHandlerinstance. - get(String, HttpServiceInvoker) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.Router
-
Add a new HTTP GET route with specified path and service.
- GET - com.github.fmjsjx.libnetty.http.server.HttpMethodWrapper
-
The GET method.
- getDouble(String) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultPathVariables
- getDouble(String) - Method in interface com.github.fmjsjx.libnetty.http.server.PathVariables
-
Returns the path variable as
doubletype by the name given. - getInstance() - Static method in class com.github.fmjsjx.libnetty.http.server.AutoReadNextHandler
-
Returns the singleton instance.
- getInstance() - Static method in interface com.github.fmjsjx.libnetty.http.server.component.JsonLibrary
-
Returns the instance which implements the
JsonLibrary. - getInstance() - Static method in class com.github.fmjsjx.libnetty.http.server.HstsHandler
-
Returns the singleton instance with default
max-age. - getInstance() - Static method in class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.StderrLoggerWrapper
- getInstance() - Static method in class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.StdoutLoggerWrapper
- getInt(String) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultPathVariables
- getInt(String) - Method in interface com.github.fmjsjx.libnetty.http.server.PathVariables
-
Returns the path variable as
inttype by the name given. - getLocalizedMessage() - Method in exception com.github.fmjsjx.libnetty.http.server.exception.HttpFailureException
- getLocalizedMessage() - Method in exception com.github.fmjsjx.libnetty.http.server.exception.ManualHttpFailureException
- getLong(String) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultPathVariables
- getLong(String) - Method in interface com.github.fmjsjx.libnetty.http.server.PathVariables
-
Returns the path variable as
longtype by the name given. - getString(String) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultPathVariables
- getString(String) - Method in interface com.github.fmjsjx.libnetty.http.server.PathVariables
-
Returns the path variable by the name given.
H
- handle(HttpRequestContext, Throwable) - Method in interface com.github.fmjsjx.libnetty.http.server.component.ExceptionHandler
-
Handles the exception.
- handle(HttpRequestContext, Throwable) - Method in class com.github.fmjsjx.libnetty.http.server.component.SimpleExceptionHandler
- handle0(HttpRequestContext, E) - Method in class com.github.fmjsjx.libnetty.http.server.component.SimpleExceptionHandler
-
Is called for each exception for type
SimpleExceptionHandler. - handler(HttpServerHandler) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set the singleton
HttpServerHandlerof this server. - handlerProvider(HttpServerHandlerProvider) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set the
HttpServerHandlerProviderof this server. - hasProperty(Object) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- hasProperty(Object, Object) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- HEAD - com.github.fmjsjx.libnetty.http.server.HttpMethodWrapper
-
The HEAD method.
- headers() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the headers of the HTTP request.
- HeaderValue - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation that indicates method parameter should be bound to the HTTP header with the specified name.
- host() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Returns the host name to which the server should bind.
- host(String) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set the host name to which the server should bind.
- HstsHandler - Class in com.github.fmjsjx.libnetty.http.server
-
A special
ChannelOutboundHandlerwhich sets the HTTPStrict-Transport-Securityheader automatically. - HstsHandler() - Constructor for class com.github.fmjsjx.libnetty.http.server.HstsHandler
- HstsHandler(long) - Constructor for class com.github.fmjsjx.libnetty.http.server.HstsHandler
-
Constructs a new
HstsHandlerinstance with the specifiedmaxAge. - HstsHandler(Duration) - Constructor for class com.github.fmjsjx.libnetty.http.server.HstsHandler
-
Constructs a new
HstsHandlerinstance with the specifiedmaxAge. - HttpConnect - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation for mapping HTTP
CONNECTrequests onto specific handler methods. - HttpDelete - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation for mapping HTTP
DELETErequests onto specific handler methods. - HttpFailureException - Exception in com.github.fmjsjx.libnetty.http.server.exception
-
Abstract implementation of
HttpRuntimeExceptionwith aHttpResponseStatus. - HttpFailureException(String) - Constructor for exception com.github.fmjsjx.libnetty.http.server.exception.HttpFailureException
- HttpFailureException(String, Throwable) - Constructor for exception com.github.fmjsjx.libnetty.http.server.exception.HttpFailureException
- HttpFailureException(Throwable) - Constructor for exception com.github.fmjsjx.libnetty.http.server.exception.HttpFailureException
- HttpGet - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation for mapping HTTP
GETrequests onto specific handler methods. - HttpHead - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation for mapping HTTP
HEADrequests onto specific handler methods. - HttpMethodWrapper - Enum in com.github.fmjsjx.libnetty.http.server
-
Wrappers for
HttpMethods. - HttpOptions - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation for mapping HTTP
OPTIONSrequests onto specific handler methods. - HttpPatch - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation for mapping HTTP
PATCHrequests onto specific handler methods. - HttpPath - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation for path of HTTP services.
- HttpPost - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation for mapping HTTP
POSTrequests onto specific handler methods. - HttpPut - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation for mapping HTTP
PUTrequests onto specific handler methods. - HttpRequestContext - Interface in com.github.fmjsjx.libnetty.http.server
-
A context that runs through each HTTP requests.
- HttpRequestContext.HttpResponseFactory - Interface in com.github.fmjsjx.libnetty.http.server
-
A factory to create
HttpResponses. - HttpRequestContextHandler - Class in com.github.fmjsjx.libnetty.http.server
-
An abstract handler to handle
HttpRequestContextmessages. - HttpRequestContextHandler() - Constructor for class com.github.fmjsjx.libnetty.http.server.HttpRequestContextHandler
- HttpResponder - Interface in com.github.fmjsjx.libnetty.http.server
-
Defines method to respond
HttpResponses. - HttpResult - Interface in com.github.fmjsjx.libnetty.http.server
-
An operation result of HTTP.
- HttpRoute - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation for HTTP route.
- HttpServer - Interface in com.github.fmjsjx.libnetty.http.server
-
An interface defines an HTTP server.
- HttpServer.AbstractUser - Class in com.github.fmjsjx.libnetty.http.server
-
The abstract implementation of
HttpServer.User. - HttpServer.User - Interface in com.github.fmjsjx.libnetty.http.server
-
An interface defines a user access to the HTTP server.
- HttpServerComponent - Interface in com.github.fmjsjx.libnetty.http.server.component
-
Defines an interface of HTTP server components.
- HttpServerHandler - Interface in com.github.fmjsjx.libnetty.http.server
-
An interface handles HTTP requests.
- HttpServerHandlerProvider - Interface in com.github.fmjsjx.libnetty.http.server
-
Provides
HttpServerHandler. - HttpServiceInvoker - Interface in com.github.fmjsjx.libnetty.http.server
-
Represents a function that invokes an HTTP service.
- HttpTrace - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation for mapping HTTP
TRACErequests onto specific handler methods.
I
- in(HttpMethod...) - Static method in interface com.github.fmjsjx.libnetty.http.server.middleware.MethodMatcher
-
Returns a matcher that checks if the coming method is equal to any one of the specified methods.
- index(String) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.Options
-
Set index.
- indexes(String...) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.Options
-
Set multiply indexes.
- init() - Method in class com.github.fmjsjx.libnetty.http.server.middleware.Router
-
Initial this
Router. - initialValue() - Method in class com.github.fmjsjx.libnetty.http.server.ThreadLocalMatcher
- invoke(HttpRequestContext) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpServiceInvoker
-
Invokes an HTTP service with given context.
- ioThreads() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Returns the number of I/O threads to create for this server.
- ioThreads(int) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set the number of I/O threads to create for this server.
- isEnabled() - Method in class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.FunctionalLoggerWrapper
- isEnabled() - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.LoggerWrapper
- isKeepAlive() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns if the connection is
keep-aliveor not. - isRunning() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
- isRunning() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpServer
-
Returns if this server is
runningor not. - isSharable() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpServerHandler
-
Return
trueif the implementation isChannelHandler.Sharableand so can be added to differentChannelPipelines. - isSslEnabled() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
- isSslEnabled() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpServer
-
Returns whether to enable SSL support.
J
- Jackson2JsonLibrary - Class in com.github.fmjsjx.libnetty.http.server.component
-
Implementation of
JsonLibraryusingjackson2. - Jackson2JsonLibrary() - Constructor for class com.github.fmjsjx.libnetty.http.server.component.Jackson2JsonLibrary
-
Constructs a new
Jackson2JsonLibrarywith the defaultObjectMapper. - Jackson2JsonLibrary() - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.SupportJson.Jackson2JsonLibrary
-
Deprecated.Constructs a new
SupportJson.Jackson2JsonLibrarywith the defaultObjectMapper. - Jackson2JsonLibrary(ObjectMapper) - Constructor for class com.github.fmjsjx.libnetty.http.server.component.Jackson2JsonLibrary
-
Constructs a new
Jackson2JsonLibrarywith the specifiedObjectMapper. - Jackson2JsonLibrary(ObjectMapper) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.SupportJson.Jackson2JsonLibrary
-
Deprecated.Constructs a new
SupportJson.Jackson2JsonLibrarywith the specifiedObjectMapper. - javaTimeModule() - Static method in class com.github.fmjsjx.libnetty.http.server.component.Jackson2JsonLibrary
- javaTimeModuleEnabled() - Static method in class com.github.fmjsjx.libnetty.http.server.component.Jackson2JsonLibrary
- jdk8Module() - Static method in class com.github.fmjsjx.libnetty.http.server.component.Jackson2JsonLibrary
- jdk8ModuleEnabled() - Static method in class com.github.fmjsjx.libnetty.http.server.component.Jackson2JsonLibrary
- JsonBody - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation that indicates a method return value or a method parameter should be bound to the HTTP body as type
"application/json". - JsonException(String, Throwable) - Constructor for exception com.github.fmjsjx.libnetty.http.server.component.JsonLibrary.JsonException
-
Constructs a new JSON exception with the specified detail message and cause.
- JsonException(String, Throwable) - Constructor for exception com.github.fmjsjx.libnetty.http.server.middleware.SupportJson.JsonException
-
Deprecated.Constructs a new JSON exception with the specified detail message and cause.
- JsonException(Throwable) - Constructor for exception com.github.fmjsjx.libnetty.http.server.component.JsonLibrary.JsonException
-
Constructs a new JSON exception with the specified cause.
- JsonException(Throwable) - Constructor for exception com.github.fmjsjx.libnetty.http.server.middleware.SupportJson.JsonException
-
Deprecated.Constructs a new JSON exception with the specified cause.
- JsonLibrary - Interface in com.github.fmjsjx.libnetty.http.server.component
-
Provides methods to support JSON features.
- JsonLibrary.JsonException - Exception in com.github.fmjsjx.libnetty.http.server.component
-
A runtime exception threw by a JSON encoder/decoder.
K
- KEY - Static variable in interface com.github.fmjsjx.libnetty.http.server.HttpServer.User
-
The key of the
HttpServer.Userused in HTTP request context properties. - KEY - Static variable in interface com.github.fmjsjx.libnetty.http.server.middleware.SupportJson.JsonLibrary
-
Deprecated.The key of the
SupportJson.JsonLibraryused in HTTP request context properties.
L
- lastChain(MiddlewareChain) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServerHandlerProvider
- lastModified(boolean) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.Options
-
Set if header
last-modifiedis enabled or not. - log(String) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.FunctionalLoggerWrapper
- log(String) - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.LoggerWrapper
M
- ManualHttpFailureException - Exception in com.github.fmjsjx.libnetty.http.server.exception
-
An
HttpFailureExceptionwith manual response contents. - ManualHttpFailureException(HttpResponseStatus, String, CharSequence, String) - Constructor for exception com.github.fmjsjx.libnetty.http.server.exception.ManualHttpFailureException
-
Constructs a new
ManualHttpFailureExceptionwith the specified status, content, contentType and message. - ManualHttpFailureException(HttpResponseStatus, String, CharSequence, Throwable) - Constructor for exception com.github.fmjsjx.libnetty.http.server.exception.ManualHttpFailureException
-
Constructs a new
ManualHttpFailureExceptionwith the specified status, content, contentType and cause. - matcher() - Method in class com.github.fmjsjx.libnetty.http.server.ThreadLocalMatcher
-
Returns the thread-local matcher.
- matcher(String) - Method in interface com.github.fmjsjx.libnetty.http.server.PathPattern
-
Returns a matcher that will match the given
pathagainst this pattern. - matches(HttpRequestContext) - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.MethodMatcher
-
Check if the method of the specified
HttpRequestContextmatches this matcher or not. - matches(HttpRequestContext) - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.PathMatcher
-
Check if the path of the specified
HttpRequestContextmatches this matcher or not. - matches(HttpMethod) - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.MethodMatcher
-
Check if the specified
methodmatches this matcher or not. - maxContentLength() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Returns the maximum length of HTTP content.
- maxContentLength(int) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set the maximum length of HTTP content.
- messageReceived(ChannelHandlerContext, HttpRequestContext) - Method in class com.github.fmjsjx.libnetty.http.server.HttpRequestContextHandler
- method() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HttpRoute
-
Returns the methods of this route.
- method() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the method of the HTTP request.
- MethodMatcher - Interface in com.github.fmjsjx.libnetty.http.server.middleware
-
An interface defines matching methods for HTTP method.
- Middleware - Interface in com.github.fmjsjx.libnetty.http.server.middleware
-
An interface defines functions which will be applied in HTTP request-response cycle.
- MiddlewareChain - Interface in com.github.fmjsjx.libnetty.http.server.middleware
-
A MiddlewareChain is an object giving a view into the invocation chain of an HTTP request.
- MiddlewareChains - Class in com.github.fmjsjx.libnetty.http.server.middleware
-
Implementations of
MiddlewareChain. - MimeTypeUtil - Class in com.github.fmjsjx.libnetty.http.server
-
Utility class for mime type.
N
- name() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
- name() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpServer
-
Returns the display name of this server.
- name(String) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set the name of this server.
- names() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultPathVariables
- names() - Method in interface com.github.fmjsjx.libnetty.http.server.PathVariables
-
Returns a collection contains of the names of all path variables.
- nanoUsed() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResult
-
Returns the time between the request coming and when the response has finished being written out to the connection, in nanoseconds.
- neverTimeout() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Let connections never timeout.
- next(Middleware, MiddlewareChain) - Static method in class com.github.fmjsjx.libnetty.http.server.middleware.MiddlewareChains
-
Creates and returns a new
MiddlewareChainfor common usage. - notFound() - Static method in class com.github.fmjsjx.libnetty.http.server.middleware.MiddlewareChains
-
Returns a singleton
MiddlewareChainthat always returns"404 Not Found".
O
- onServerClosed() - Method in interface com.github.fmjsjx.libnetty.http.server.component.HttpServerComponent
-
This method will be invoked by framework when the
HttpServerwhich thisHttpServerComponentbelongs to is just be closed. - onServerClosed() - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.Middleware
-
This method will be invoked by framework when the
HttpServerwhich thisMiddlewarebelongs to is just be closed. - option(ChannelOption<T>, T) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Allow to specify a
ChannelOptionwhich is used for theChannelinstances once they got created. - Options() - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.Options
- OPTIONS - com.github.fmjsjx.libnetty.http.server.HttpMethodWrapper
-
The OPTIONS method.
P
- patch(String, HttpServiceInvoker) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.Router
-
Add a new HTTP PATCH route with specified path and service.
- PATCH - com.github.fmjsjx.libnetty.http.server.HttpMethodWrapper
-
The PATCH method.
- path() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the decoded path string of the HTTP request
URI. - PathFilterMiddleware - Class in com.github.fmjsjx.libnetty.http.server.middleware
-
Delegating a
Middlewarewith a path filter. - PathFilterMiddleware(Predicate<String>, Middleware) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.PathFilterMiddleware
- PathMatcher - Interface in com.github.fmjsjx.libnetty.http.server.middleware
-
An interface defines matching methods for HTTP path.
- pathPattern() - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.PathMatcher
-
Returns the path pattern.
- PathPattern - Interface in com.github.fmjsjx.libnetty.http.server
-
An interface defines methods for HTTP path pattern.
- PathPatternUtil - Class in com.github.fmjsjx.libnetty.http.server
-
Utility class for HTTP path patterns.
- PathVar - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation that indicates a parameter variable should be bound to an HTTP path variable.
- pathVariableNames() - Method in interface com.github.fmjsjx.libnetty.http.server.PathPattern
-
Returns the list contains the names of path variables.
- pathVariables() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the path variables.
- pathVariables(PathVariables) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Set the path variables.
- PathVariables - Interface in com.github.fmjsjx.libnetty.http.server
-
Provides methods to access path variables from an HTTP path.
- pattern - Variable in class com.github.fmjsjx.libnetty.http.server.ThreadLocalMatcher
- pattern() - Method in interface com.github.fmjsjx.libnetty.http.server.PathPattern
-
Returns the compiled representation of a regular expression.
- pattern() - Method in class com.github.fmjsjx.libnetty.http.server.ThreadLocalMatcher
-
Return the pattern that create matchers.
- port() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Returns the listening port of this server.
- port(int) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set the listening port of this server.
- post(String, HttpServiceInvoker) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.Router
-
Add a new HTTP POST route with specified path and service.
- POST - com.github.fmjsjx.libnetty.http.server.HttpMethodWrapper
-
The POST method.
- probeContentType(Path) - Static method in class com.github.fmjsjx.libnetty.http.server.MimeTypeUtil
-
Probes the content type of a file.
- property(Class<T>) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the property value as parameterized type.
- property(Object) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the property value as parameterized type.
- property(Object, Class<T>) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the property value as parameterized type.
- property(Object, Object) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Set the property value with the specified key, or remove the value with specified key by input
nullparameter. - propertyKeyNames() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns a
Streamcontains the key name of each property in thieHttpRequestContext. - propertyKeys() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Deprecated.please use
HttpRequestContext.propertyKeyNames()instead - PropertyValue - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation that indicates method parameter should be bound to some property value of the request context.
- put(String, HttpServiceInvoker) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.Router
-
Add a new HTTP PUT route with specified path and service.
- put(String, String) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultPathVariables
-
Puts a path variable by the specified name and value.
- PUT - com.github.fmjsjx.libnetty.http.server.HttpMethodWrapper
-
The PUT method.
Q
- queryParameter(String) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the value of the specified name belongs to the decoded key-value parameter pairs of the HTTP request
URI - queryParameters() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the decoded key-value parameter pairs of the HTTP request
URI. - queryStringDecoder() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the
QueryStringDecoderbuilt from the HTTP requestURI. - QueryVar - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation that indicates a parameter variable should be bound to an HTTP query parameter.
R
- rawPath() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the raw path of the HTTP request
URI. - rawQuery() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the raw query string of the HTTP request
URI. - read(ByteBuf, Type) - Method in class com.github.fmjsjx.libnetty.http.server.component.Jackson2JsonLibrary
- read(ByteBuf, Type) - Method in interface com.github.fmjsjx.libnetty.http.server.component.JsonLibrary
-
Read a JSON value from the given content.
- read(ByteBuf, Type) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.SupportJson.Jackson2JsonLibrary
-
Deprecated.
- read(ByteBuf, Type) - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.SupportJson.JsonLibrary
-
Deprecated.Read a JSON value from the given content.
- READ_NEXT - Static variable in interface com.github.fmjsjx.libnetty.http.server.HttpServerHandler
-
A
ChannelFutureListenerthat callsChannel.read()of theChannelwhich is associated with the specifiedChannelFuture. - receivedLocalTime() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the
LocalDateTimewhen the HTTP request just received. - receivedNanoTime() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the value of the running Java Virtual Machine'shigh-resolution time source, in nanoseconds, when the HTTP request just received.
- receivedTime() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the
ZonedDateTimewith the systemZoneIdwhen the HTTP request just received. - receivedTime(ZoneId) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the
ZonedDateTimewith the specifiedZoneIdwhen the HTTP request just received. - redirectDirectory(boolean) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.Options
-
Set if redirect to trailing "/" when the pathname is a directory or not.
- refCnt() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- register(Router, Object) - Static method in class com.github.fmjsjx.libnetty.http.server.middleware.RouterUtil
-
Register the given controller to the specified router.
- register(Router, T, Class<T>) - Static method in class com.github.fmjsjx.libnetty.http.server.middleware.RouterUtil
-
Register the given controller to the specified router.
- register(Object) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.Router
-
Register a controller.
- register(T, Class<T>) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.Router
-
Register a controller.
- release() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- release(int) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- RemoteAddr - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation that indicates method parameter should be bound to the remote address (client IP).
- remoteAddress() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the remote address (client IP) of this
HttpRequestContext. - request() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the
FullHttpRequestwhich is bound to theHttpRequestContext. - requestContext() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpResult
- requestContext() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResult
-
Returns the context of the HTTP request.
- RequestValidator - Class in com.github.fmjsjx.libnetty.http.server.middleware
-
A
Middlewarevalidates HTTP requests. - RequestValidator() - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.RequestValidator
- RequestValidator(HttpResponseStatus) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.RequestValidator
- required() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.ComponentValue
-
Returns whether the component value is required.
- required() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HeaderValue
-
Returns whether the header is required.
- required() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.PropertyValue
-
Returns whether the property value is required.
- required() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.QueryVar
-
Returns whether the path variable is required.
- reset() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Reset all settings of this server.
- reset(CharSequence) - Method in class com.github.fmjsjx.libnetty.http.server.ThreadLocalMatcher
-
Resets the thread-local matcher with a new input sequence.
- respondBadRequestError(Throwable) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- respondBadRequestError(Throwable) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResponder
-
Send HTTP response with
"400 Bad Request Error"to client and returns theHttpResultasynchronously. - respondedNaonTime() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpResult
- respondedNaonTime() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResult
-
Returns the value of the running Java Virtual Machine'shigh-resolution time source, in nanoseconds, when the HTTP response just responded.
- respondedTime() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpResult
- respondedTime() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResult
-
Returns the
ZonedDateTimewith the systemZoneIdwhen the HTTP response just responded. - respondedTime(ZoneId) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResult
-
Returns the
ZonedDateTimewith the specifiedZoneIdwhen the HTTP response just responded. - respondError(Throwable) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- respondError(Throwable) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResponder
-
Respond HTTP error response to client and returns the
HttpResultasynchronously. - respondInternalServerError(Throwable) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- respondInternalServerError(Throwable) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResponder
-
Send HTTP response with
"500 Internal Server Error"to client and returns theHttpResultasynchronously. - responseFactory() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the factory creates
HttpResponses. - responseStatus() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpResult
- responseStatus() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResult
-
Returns the status of the HTTP response.
- resultLength() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpResult
- resultLength() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResult
-
Returns the length of the HTTP response content.
- retain() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- retain(int) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- Router - Class in com.github.fmjsjx.libnetty.http.server.middleware
-
A
Middlewarerouting requests. - Router() - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.Router
- RouterUtil - Class in com.github.fmjsjx.libnetty.http.server.middleware
-
Utility class for HTTP controller beans.
- RouterUtil() - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.RouterUtil
S
- sendRedirect(CharSequence) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- sendRedirect(CharSequence) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResponder
-
Send HTTP response with
"302 Found"to client and returns theHttpResultasynchronously. - sendRedirect(CharSequence, Consumer<HttpHeaders>) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- sendRedirect(CharSequence, Consumer<HttpHeaders>) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResponder
-
Send HTTP response with
"302 Found"to client and returns theHttpResultasynchronously. - sendResponse(FullHttpResponse) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- sendResponse(FullHttpResponse) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResponder
-
Send HTTP response to client and returns the HttpResultasynchronously.
- sendResponse(FullHttpResponse, int) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- sendResponse(FullHttpResponse, int) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResponder
-
Send HTTP response to client and returns the HttpResultasynchronously.
- ServeStatic - Class in com.github.fmjsjx.libnetty.http.server.middleware
-
A
Middlewareserves static resources. - ServeStatic(ServeStatic.Options, String...) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic
-
Constructs a new
ServeStaticwith the multiplylocationMappings and the specifiedServeStatic.Options. - ServeStatic(String, String) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic
- ServeStatic(String, String, ServeStatic.Options) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic
- ServeStatic(String, String, String, String, ServeStatic.Options) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic
-
Constructs a new
ServeStaticwith the multiplypaths,locationMappings and the specifiedServeStatic.Options. - ServeStatic(LinkedHashMap<String, String>, ServeStatic.Options) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic
-
Constructs a new
ServeStaticwith the multiplylocationMappings and the specifiedServeStatic.Options. - ServeStatic.EtagGenerator - Interface in com.github.fmjsjx.libnetty.http.server.middleware
-
Function to generates
E-TAGs. - ServeStatic.Options - Class in com.github.fmjsjx.libnetty.http.server.middleware
-
The options of
ServeStatic. - SHORT - com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.LogFormat
-
Shorter than default, also including response time.
- showHidden() - Method in class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.Options
-
Allow clients to access hidden files.
- showHidden(boolean) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.Options
-
Set if clients are allowed to access hidden files.
- shutdown() - Method in class com.github.fmjsjx.libnetty.http.server.component.DefaultWorkerPool
- shutdown() - Method in interface com.github.fmjsjx.libnetty.http.server.component.WorkerPool
-
Shutdown this worker pool.
- shutdown() - Method in class com.github.fmjsjx.libnetty.http.server.component.WrappedWorkerPool
- shutdown() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
- shutdown() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpServer
-
Shut down this server.
- simple(Predicate<HttpRequestContext>) - Static method in class com.github.fmjsjx.libnetty.http.server.middleware.RequestValidator
-
Returns a new
RequestValidatorinstance using the specified validation function. - simple(Predicate<HttpRequestContext>, HttpResponseStatus) - Static method in class com.github.fmjsjx.libnetty.http.server.middleware.RequestValidator
-
Returns a new
RequestValidatorinstance using the specified validation function. - SimpleExceptionHandler<E extends java.lang.Throwable> - Class in com.github.fmjsjx.libnetty.http.server.component
-
The abstract implementation of
ExceptionHandlerwhich allows to explicit only handle a specific type of exceptions. - SimpleExceptionHandler() - Constructor for class com.github.fmjsjx.libnetty.http.server.component.SimpleExceptionHandler
- SimpleExceptionHandler(Class<? extends E>) - Constructor for class com.github.fmjsjx.libnetty.http.server.component.SimpleExceptionHandler
- SimpleHttpFailureException - Exception in com.github.fmjsjx.libnetty.http.server.exception
-
The default implementation of
HttpFailureException. - SimpleHttpFailureException(HttpResponseStatus, String) - Constructor for exception com.github.fmjsjx.libnetty.http.server.exception.SimpleHttpFailureException
-
Constructs a new
SimpleHttpFailureExceptioninstance with the specified status and message. - SimpleHttpFailureException(HttpResponseStatus, String, Throwable) - Constructor for exception com.github.fmjsjx.libnetty.http.server.exception.SimpleHttpFailureException
-
Constructs a new
SimpleHttpFailureExceptioninstance with the specified status, message and cause. - SimpleHttpFailureException(String) - Constructor for exception com.github.fmjsjx.libnetty.http.server.exception.SimpleHttpFailureException
-
Constructs a new
SimpleHttpFailureExceptioninstance with the status "500 Internal Server Error" and the specified message. - SimpleHttpFailureException(String, Throwable) - Constructor for exception com.github.fmjsjx.libnetty.http.server.exception.SimpleHttpFailureException
-
Constructs a new
SimpleHttpFailureExceptioninstance with the status "500 Internal Server Error" and the specified message and cause. - SimpleHttpFailureException(Throwable) - Constructor for exception com.github.fmjsjx.libnetty.http.server.exception.SimpleHttpFailureException
-
Constructs a new
SimpleHttpFailureExceptioninstance with the status "500 Internal Server Error" and the specified cause. - simpleRespond(HttpFailureException) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- simpleRespond(HttpFailureException) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResponder
-
Respond a simple HTTP response with error message content to client and returns the
HttpResultasynchronously. - simpleRespond(HttpResponseStatus) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- simpleRespond(HttpResponseStatus) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResponder
-
Respond a simple HTTP response without content to client and returns the
HttpResultasynchronously. - simpleRespond(HttpResponseStatus, ByteBuf, int, CharSequence) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- simpleRespond(HttpResponseStatus, ByteBuf, int, CharSequence) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResponder
-
Respond a simple HTTP response with the specified content to client and returns the
HttpResultasynchronously. - simpleRespond(HttpResponseStatus, ByteBuf, CharSequence) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- simpleRespond(HttpResponseStatus, ByteBuf, CharSequence) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResponder
-
Respond a simple HTTP response with the specified content to client and returns the
HttpResultasynchronously. - simpleRespond(HttpResponseStatus, Consumer<HttpHeaders>) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- simpleRespond(HttpResponseStatus, Consumer<HttpHeaders>) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResponder
-
Respond a simple HTTP response without content to client and returns the
HttpResultasynchronously. - size() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultPathVariables
- size() - Method in interface com.github.fmjsjx.libnetty.http.server.PathVariables
-
Returns the size of the path variables.
- Slf4jLoggerWrapper(String) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.Slf4jLoggerWrapper
- Slf4jLoggerWrapper(String, Level) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.Slf4jLoggerWrapper
- Slf4jLoggerWrapper(Logger) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.Slf4jLoggerWrapper
- Slf4jLoggerWrapper(Logger, Level) - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.Slf4jLoggerWrapper
- soBackLog(int) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set
SO_BACKLOG. - startup() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
- startup() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpServer
-
Start up this server.
- status() - Method in exception com.github.fmjsjx.libnetty.http.server.exception.BadRequestException
- status() - Method in exception com.github.fmjsjx.libnetty.http.server.exception.HttpFailureException
-
Returns the failure status.
- status() - Method in exception com.github.fmjsjx.libnetty.http.server.exception.ManualHttpFailureException
- status() - Method in exception com.github.fmjsjx.libnetty.http.server.exception.SimpleHttpFailureException
- StderrLoggerWrapper() - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.StderrLoggerWrapper
- StdoutLoggerWrapper() - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.StdoutLoggerWrapper
- StringBody - Annotation Type in com.github.fmjsjx.libnetty.http.server.annotation
-
Annotation that indicates a method return value or a method parameter should be bound to the HTTP body as type
"text/plain". - supportJson() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Support JSON features.
- SupportJson - Class in com.github.fmjsjx.libnetty.http.server.middleware
-
Deprecated.
- SupportJson() - Constructor for class com.github.fmjsjx.libnetty.http.server.middleware.SupportJson
-
Deprecated.
- SupportJson.Jackson2JsonLibrary - Class in com.github.fmjsjx.libnetty.http.server.middleware
-
Deprecated.please use
Jackson2JsonLibraryinstead - SupportJson.JsonException - Exception in com.github.fmjsjx.libnetty.http.server.middleware
-
Deprecated.please use
JsonLibrary.JsonExceptioninstead - SupportJson.JsonLibrary - Interface in com.github.fmjsjx.libnetty.http.server.middleware
-
Deprecated.please use
JsonLibraryinstead
T
- tcpNoDelay() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Enable
TCP_NODELAY(disable/enable Nagle's algorithm). - test(HttpMethod) - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.MethodMatcher
-
Evaluates this predicate on the specified
method. - TEXT_PLAIN_UTF8 - Static variable in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
"text/plain; charset=UTF-8" - ThreadLocalMatcher - Class in com.github.fmjsjx.libnetty.http.server
-
Provides a thread-local variables of
Matchers. - ThreadLocalMatcher(Pattern) - Constructor for class com.github.fmjsjx.libnetty.http.server.ThreadLocalMatcher
-
Construct a new
ThreadLocalMatcherinstance with the specified pattern. - timeout(Duration) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set the time that connectors wait for another HTTP request before closing the connection.
- timeoutSeconds() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Returns the time in seconds that connectors wait for another HTTP request before closing the connection.
- timeoutSeconds(int) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Set the time in seconds that connectors wait for another HTTP request before closing the connection.
- timeUsed(TimeUnit) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpResult
-
Returns the time between the request coming and when the response has finished being written out to the connection, in specified time unit.
- TINY - com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.LogFormat
-
The minimal output.
- toFilter(String...) - Static method in class com.github.fmjsjx.libnetty.http.server.middleware.PathFilterMiddleware
-
Convert path prefixes to path filter.
- toString() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpResult
- toString() - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
- toString() - Method in class com.github.fmjsjx.libnetty.http.server.HttpServer.AbstractUser
- toString() - Method in enum com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.LogFormat
- toString() - Method in class com.github.fmjsjx.libnetty.http.server.middleware.AuthBasic
- toString() - Method in class com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.Options
- touch() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- touch(Object) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
- TRACE - com.github.fmjsjx.libnetty.http.server.HttpMethodWrapper
-
The TRACE method.
- trailingHeaders() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the trailing headers of the HTTP request.
- transport(EventLoopGroup, EventLoopGroup, Class<? extends ServerChannel>) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Specify the transport components of this server.
- transport(EventLoopGroup, Class<? extends ServerChannel>) - Method in class com.github.fmjsjx.libnetty.http.server.DefaultHttpServer
-
Specify the transport components of this server.
U
- uri() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the
uriof the HTTP request. - user() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the
HttpServer.User. - user(Class<U>) - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the
HttpServer.User. - username() - Method in class com.github.fmjsjx.libnetty.http.server.HttpServer.AbstractUser
- username() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpServer.User
-
Returns the username of this user.
V
- validate(HttpRequestContext) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.RequestValidator
-
Validate the
HttpRequestContext. - value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.ComponentValue
-
Returns the type of the component.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HeaderValue
-
Returns the name of the value in HTTP header.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HttpConnect
-
Returns the path pattern of this route.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HttpDelete
-
Returns the path pattern of this route.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HttpGet
-
Returns the path pattern of this route.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HttpHead
-
Returns the path pattern of this route.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HttpOptions
-
Returns the path pattern of this route.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HttpPatch
-
Returns the path pattern of this route.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HttpPath
-
Returns the value string of the path.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HttpPost
-
Returns the path pattern of this route.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HttpPut
-
Returns the path pattern of this route.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HttpRoute
-
Returns the path pattern of this route.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.HttpTrace
-
Returns the path pattern of this route.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.PathVar
-
Returns the name of the path variable.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.PropertyValue
-
Returns the property key string.
- value() - Method in annotation type com.github.fmjsjx.libnetty.http.server.annotation.QueryVar
-
Returns the name of the path variable.
- valueOf(String) - Static method in enum com.github.fmjsjx.libnetty.http.server.HttpMethodWrapper
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.LogFormat
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.fmjsjx.libnetty.http.server.HttpMethodWrapper
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.github.fmjsjx.libnetty.http.server.middleware.AccessLogger.LogFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version() - Method in interface com.github.fmjsjx.libnetty.http.server.HttpRequestContext
-
Returns the protocol version of the HTTP request.
W
- week() - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.ServeStatic.EtagGenerator
-
Returns
trueif is weak validator, otherwisefalse - WorkerPool - Interface in com.github.fmjsjx.libnetty.http.server.component
-
Provides a worker thread pool.
- wrapped() - Method in enum com.github.fmjsjx.libnetty.http.server.HttpMethodWrapper
-
Returns the wrapped
HttpMethod. - WrappedWorkerPool - Class in com.github.fmjsjx.libnetty.http.server.component
-
The wrapped implementation of
WorkerPool. - WrappedWorkerPool(Executor) - Constructor for class com.github.fmjsjx.libnetty.http.server.component.WrappedWorkerPool
-
Constructs a new
WrappedWorkerPoolwith the specifiedwrappedexecutor. - WrappedWorkerPool(Executor, boolean) - Constructor for class com.github.fmjsjx.libnetty.http.server.component.WrappedWorkerPool
-
Constructs a new
WrappedWorkerPoolwith the specifiedwrappedexecutor. - write(ByteBufAllocator, Object) - Method in class com.github.fmjsjx.libnetty.http.server.component.Jackson2JsonLibrary
- write(ByteBufAllocator, Object) - Method in interface com.github.fmjsjx.libnetty.http.server.component.JsonLibrary
-
Write a JSON value into the a
ByteBuf. - write(ByteBufAllocator, Object) - Method in class com.github.fmjsjx.libnetty.http.server.middleware.SupportJson.Jackson2JsonLibrary
-
Deprecated.
- write(ByteBufAllocator, Object) - Method in interface com.github.fmjsjx.libnetty.http.server.middleware.SupportJson.JsonLibrary
-
Deprecated.Write a JSON value into the a
ByteBuf. - write(ChannelHandlerContext, Object, ChannelPromise) - Method in class com.github.fmjsjx.libnetty.http.server.AutoReadNextHandler
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class com.github.fmjsjx.libnetty.http.server.HstsHandler
All Classes All Packages