Skip navigation links
A B C D E G H I N O P Q R S T 

A

addRoute(HttpMethod, String, T) - Method in class io.netty.handler.codec.http.router.Router
Add route to the "other" section.
addRouteFirst(HttpMethod, String, T) - Method in class io.netty.handler.codec.http.router.Router
Add route to the "first" section.
addRouteLast(HttpMethod, String, T) - Method in class io.netty.handler.codec.http.router.Router
Add route to the "last" section.
allAllowedMethods() - Method in class io.netty.handler.codec.http.router.Router
Returns all methods that this router handles.
allowedMethods(String) - Method in class io.netty.handler.codec.http.router.Router
Returns allowed methods for a specific URI.
ANY(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
ANY_FIRST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
ANY_LAST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 

B

BadClientSilencer - Class in io.netty.handler.codec.http
This utility handler should be put at the last position of the inbound pipeline to catch all exceptions caused by bad client (closed connection, malformed request etc.) and server processing, then close the connection.
BadClientSilencer() - Constructor for class io.netty.handler.codec.http.BadClientSilencer
 

C

channelRead0(ChannelHandlerContext, Object) - Method in class io.netty.handler.codec.http.BadClientSilencer
 
CONNECT(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
CONNECT_FIRST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
CONNECT_LAST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 

D

DELETE(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
DELETE_FIRST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
DELETE_LAST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 

E

exceptionCaught(ChannelHandlerContext, Throwable) - Method in class io.netty.handler.codec.http.BadClientSilencer
 

G

GET(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
GET_FIRST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
GET_LAST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 

H

HEAD(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
HEAD_FIRST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
HEAD_LAST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 

I

io.netty.handler.codec.http - package io.netty.handler.codec.http
 
io.netty.handler.codec.http.router - package io.netty.handler.codec.http.router
This package contains HTTP router related classes.

N

notFound() - Method in class io.netty.handler.codec.http.router.Router
Returns the fallback target for use when there's no match at Router.route(HttpMethod, String).
notFound(T) - Method in class io.netty.handler.codec.http.router.Router
Sets the fallback target for use when there's no match at Router.route(HttpMethod, String).

O

onBadClient(Throwable) - Method in class io.netty.handler.codec.http.BadClientSilencer
Logs to Netty internal logger.
onBadServer(Throwable) - Method in class io.netty.handler.codec.http.BadClientSilencer
Logs to Netty internal logger.
onUnknownMessage(Object) - Method in class io.netty.handler.codec.http.BadClientSilencer
Logs to Netty internal logger.
OPTIONS(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
OPTIONS_FIRST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
OPTIONS_LAST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 

P

param(String) - Method in class io.netty.handler.codec.http.router.RouteResult
Extracts the param in pathParams first, then falls back to the first matching param in queryParams.
params(String) - Method in class io.netty.handler.codec.http.router.RouteResult
Extracts all params in pathParams and queryParams matching the name.
PATCH(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
PATCH_FIRST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
PATCH_LAST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
path(HttpMethod, T, Object...) - Method in class io.netty.handler.codec.http.router.Router
Given a target and params, this method tries to do the reverse routing and returns the path.
path(T, Object...) - Method in class io.netty.handler.codec.http.router.Router
Given a target and params, this method tries to do the reverse routing and returns the path.
pathParams() - Method in class io.netty.handler.codec.http.router.RouteResult
Returns all params embedded in the request path.
POST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
POST_FIRST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
POST_LAST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
PUT(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
PUT_FIRST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
PUT_LAST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 

Q

queryParam(String) - Method in class io.netty.handler.codec.http.router.RouteResult
Extracts the first matching param in queryParams.
queryParams() - Method in class io.netty.handler.codec.http.router.RouteResult
Returns all params in the query part of the request URI.

R

removePath(String) - Method in class io.netty.handler.codec.http.router.Router
Removes the route specified by the path.
removeTarget(T) - Method in class io.netty.handler.codec.http.router.Router
Removes all routes leading to the target.
route(HttpMethod, String) - Method in class io.netty.handler.codec.http.router.Router
If there's no match, returns the result with notFound as the target if it is set, otherwise returns null.
Router<T> - Class in io.netty.handler.codec.http.router
Router that contains information about both route matching orders and HTTP request methods.
Router() - Constructor for class io.netty.handler.codec.http.router.Router
 
RouteResult<T> - Class in io.netty.handler.codec.http.router
RouteResult(T, Map<String, String>, Map<String, List<String>>) - Constructor for class io.netty.handler.codec.http.router.RouteResult
The maps will be wrapped in Collections.unmodifiableMap.

S

size() - Method in class io.netty.handler.codec.http.router.Router
Returns the number of routes in this router.

T

target() - Method in class io.netty.handler.codec.http.router.RouteResult
 
toString() - Method in class io.netty.handler.codec.http.router.Router
Returns visualized routing rules.
TRACE(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
TRACE_FIRST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
TRACE_LAST(String, T) - Method in class io.netty.handler.codec.http.router.Router
 
A B C D E G H I N O P Q R S T 
Skip navigation links