Index

A B C D E F G H I M N P R S T U W 
All Classes|All Packages

A

AbstractRouter - Class in com.robothy.netty.router
 
AbstractRouter() - Constructor for class com.robothy.netty.router.AbstractRouter
 

B

body(ByteBuf) - Method in class com.robothy.netty.http.HttpRequest.HttpRequestBuilder
 
build() - Method in class com.robothy.netty.http.HttpRequest.HttpRequestBuilder
 
build() - Method in class com.robothy.netty.router.Route.Builder
 
builder() - Static method in class com.robothy.netty.http.HttpRequest
 
builder() - Static method in class com.robothy.netty.router.Route
 
Builder() - Constructor for class com.robothy.netty.router.Route.Builder
 

C

channelActive(ChannelHandlerContext) - Method in class com.robothy.netty.codec.HttpMessageHandler
 
channelInactive(ChannelHandlerContext) - Method in class com.robothy.netty.codec.HttpMessageHandler
 
channelRead0(ChannelHandlerContext, HttpRequest) - Method in class com.robothy.netty.codec.HttpMessageHandler
 
com.robothy.netty.codec - package com.robothy.netty.codec
 
com.robothy.netty.http - package com.robothy.netty.http
 
com.robothy.netty.initializer - package com.robothy.netty.initializer
 
com.robothy.netty.router - package com.robothy.netty.router
 
com.robothy.netty.utils - package com.robothy.netty.utils
 

D

decode(ChannelHandlerContext, HttpObject, List<Object>) - Method in class com.robothy.netty.codec.HttpRequestDecoder
 
DEFAULT_NOT_FOUND_HANDLER - Static variable in interface com.robothy.netty.router.Router
 

E

encode(ChannelHandlerContext, HttpResponse, List<Object>) - Method in class com.robothy.netty.codec.HttpResponseEncoder
 
equals(Object) - Method in class com.robothy.netty.router.Route
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class com.robothy.netty.codec.HttpMessageHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class com.robothy.netty.codec.HttpRequestDecoder
 
exceptionHandler(Class<T>, ExceptionHandler<T>) - Method in class com.robothy.netty.router.AbstractRouter
 
exceptionHandler(Class<T>, ExceptionHandler<T>) - Method in interface com.robothy.netty.router.Router
Set a handler for exceptions with exceptionType.
ExceptionHandler<T extends java.lang.Throwable> - Interface in com.robothy.netty.router
 

F

findExceptionHandler(Class<? extends Throwable>) - Method in class com.robothy.netty.router.AbstractRouter
 
findExceptionHandler(Class<? extends Throwable>) - Method in interface com.robothy.netty.router.Router
Find the best match exception handler for the given exceptionType.

G

getBody() - Method in class com.robothy.netty.http.HttpRequest
 
getBody() - Method in class com.robothy.netty.http.HttpResponse
 
getHandler() - Method in class com.robothy.netty.router.Route
 
getHeaderMatcher() - Method in class com.robothy.netty.router.Route
 
getHeaders() - Method in class com.robothy.netty.http.HttpRequest
 
getHeaders() - Method in class com.robothy.netty.http.HttpResponse
 
getHttpVersion() - Method in class com.robothy.netty.http.HttpRequest
 
getMethod() - Method in class com.robothy.netty.http.HttpRequest
 
getMethod() - Method in class com.robothy.netty.router.Route
 
getParamMatcher() - Method in class com.robothy.netty.router.Route
 
getParams() - Method in class com.robothy.netty.http.HttpRequest
 
getPath() - Method in class com.robothy.netty.http.HttpRequest
 
getPath() - Method in class com.robothy.netty.router.Route
 
getStatus() - Method in class com.robothy.netty.http.HttpResponse
 
getTrimPath() - Method in class com.robothy.netty.router.Route
 
getUri() - Method in class com.robothy.netty.http.HttpRequest
 

H

handle(HttpRequest, HttpResponse) - Method in interface com.robothy.netty.http.HttpRequestHandler
 
handle(T, HttpRequest, HttpResponse) - Method in interface com.robothy.netty.router.ExceptionHandler
 
handler(HttpRequestHandler) - Method in class com.robothy.netty.router.Route.Builder
 
hashCode() - Method in class com.robothy.netty.router.Route
 
header(CharSequence) - Method in class com.robothy.netty.http.HttpRequest
Get the header value by name.
headerMatcher(Function<Map<CharSequence, String>, Boolean>) - Method in class com.robothy.netty.router.Route.Builder
 
headerMather(Function<Map<CharSequence, String>, Boolean>) - Method in class com.robothy.netty.router.Route
 
headers(Map<CharSequence, String>) - Method in class com.robothy.netty.http.HttpRequest.HttpRequestBuilder
 
HttpMessageHandler - Class in com.robothy.netty.codec
 
HttpMessageHandler(Router) - Constructor for class com.robothy.netty.codec.HttpMessageHandler
 
HttpRequest - Class in com.robothy.netty.http
 
HttpRequest.HttpRequestBuilder - Class in com.robothy.netty.http
 
HttpRequestDecoder - Class in com.robothy.netty.codec
 
HttpRequestDecoder() - Constructor for class com.robothy.netty.codec.HttpRequestDecoder
 
HttpRequestHandler - Interface in com.robothy.netty.http
 
HttpResponse - Class in com.robothy.netty.http
 
HttpResponse() - Constructor for class com.robothy.netty.http.HttpResponse
 
HttpResponseEncoder - Class in com.robothy.netty.codec
 
HttpResponseEncoder() - Constructor for class com.robothy.netty.codec.HttpResponseEncoder
 
HttpServerInitializer - Class in com.robothy.netty.initializer
 
HttpServerInitializer(EventExecutorGroup, Router) - Constructor for class com.robothy.netty.initializer.HttpServerInitializer
 
httpVersion(HttpVersion) - Method in class com.robothy.netty.http.HttpRequest.HttpRequestBuilder
 

I

initChannel(SocketChannel) - Method in class com.robothy.netty.initializer.HttpServerInitializer
 

M

match(HttpRequest) - Method in interface com.robothy.netty.router.Router
Find a handler for the given request according to registered routes.
match(HttpRequest) - Method in class com.robothy.netty.router.SpringWebRouter
 
method(HttpMethod) - Method in class com.robothy.netty.http.HttpRequest.HttpRequestBuilder
 
method(HttpMethod) - Method in class com.robothy.netty.router.Route.Builder
 
mimeTypeByFileExtension(String) - Static method in class com.robothy.netty.utils.MimeTypeUtils
 
MimeTypeUtils - Class in com.robothy.netty.utils
 
MimeTypeUtils() - Constructor for class com.robothy.netty.utils.MimeTypeUtils
 

N

notFound(HttpRequestHandler) - Method in class com.robothy.netty.router.AbstractRouter
 
notFound(HttpRequestHandler) - Method in interface com.robothy.netty.router.Router
Set resource not found handler.
notFoundHandler() - Method in class com.robothy.netty.router.AbstractRouter
 

P

parameter(String) - Method in class com.robothy.netty.http.HttpRequest
Get the first value by the parameter name.
parameters(String) - Method in class com.robothy.netty.http.HttpRequest
Get the parameter values by name.
paramMatcher(Function<Map<CharSequence, List<String>>, Boolean>) - Method in class com.robothy.netty.router.Route.Builder
 
paramMatcher(Function<Map<CharSequence, List<String>>, Boolean>) - Method in class com.robothy.netty.router.Route
 
params(Map<CharSequence, List<String>>) - Method in class com.robothy.netty.http.HttpRequest.HttpRequestBuilder
 
path(String) - Method in class com.robothy.netty.http.HttpRequest.HttpRequestBuilder
 
path(String) - Method in class com.robothy.netty.router.Route.Builder
 
putHeader(String, Object) - Method in class com.robothy.netty.http.HttpResponse
 

R

route(Route) - Method in interface com.robothy.netty.router.Router
Register a handler for the request that matched rule.
route(Route) - Method in class com.robothy.netty.router.SpringWebRouter
 
route(HttpMethod, String, HttpRequestHandler) - Method in interface com.robothy.netty.router.Router
 
Route - Class in com.robothy.netty.router
 
Route.Builder - Class in com.robothy.netty.router
 
router() - Static method in interface com.robothy.netty.router.Router
Create a default Router instance.
Router - Interface in com.robothy.netty.router
A Router is a S3RequestHandler container.

S

SpringWebRouter - Class in com.robothy.netty.router
 
SpringWebRouter() - Constructor for class com.robothy.netty.router.SpringWebRouter
 
staticResource(String) - Method in class com.robothy.netty.router.AbstractRouter
 
staticResource(String) - Method in interface com.robothy.netty.router.Router
The router will map the request uri to the relative path of files under the rootPath directory.
staticResourceMatcher() - Method in class com.robothy.netty.router.AbstractRouter
 
status(HttpResponseStatus) - Method in class com.robothy.netty.http.HttpResponse
 

T

toString() - Method in class com.robothy.netty.http.HttpRequest.HttpRequestBuilder
 

U

uri(String) - Method in class com.robothy.netty.http.HttpRequest.HttpRequestBuilder
 

W

write(byte[]) - Method in class com.robothy.netty.http.HttpResponse
 
write(ByteBuf) - Method in class com.robothy.netty.http.HttpResponse
 
write(String) - Method in class com.robothy.netty.http.HttpResponse
 
A B C D E F G H I M N P R S T U W 
All Classes|All Packages