public abstract class MethodDynamicWebHandler extends DynamicWebHandler
| Constructor and Description |
|---|
MethodDynamicWebHandler() |
| Modifier and Type | Method and Description |
|---|---|
abstract io.netty.handler.codec.http.FullHttpResponse |
connect(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
Handle a dynamic
CONNECT request to the configured path. |
abstract io.netty.handler.codec.http.FullHttpResponse |
delete(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
Handle a dynamic
DELETE request to the configured path. |
abstract io.netty.handler.codec.http.FullHttpResponse |
get(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
Handle a dynamic
GET request to the configured path. |
io.netty.handler.codec.http.FullHttpResponse |
handleRequest(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider path,
io.netty.handler.codec.http.HttpRequest httpRequest)
Handle a dynamic request.
|
abstract io.netty.handler.codec.http.FullHttpResponse |
head(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
Handle a dynamic
HEAD request to the configured path. |
abstract io.netty.handler.codec.http.FullHttpResponse |
options(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
Handle a dynamic
OPTIONS request to the configured path. |
abstract io.netty.handler.codec.http.FullHttpResponse |
patch(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
Handle a dynamic
PATCH request to the configured path. |
abstract io.netty.handler.codec.http.FullHttpResponse |
post(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
Handle a dynamic
POST request to the configured path. |
abstract io.netty.handler.codec.http.FullHttpResponse |
put(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
Handle a dynamic
PUT request to the configured path. |
abstract io.netty.handler.codec.http.FullHttpResponse |
trace(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
Handle a dynamic
TRACE request to the configured path. |
public final io.netty.handler.codec.http.FullHttpResponse handleRequest(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider path,
io.netty.handler.codec.http.HttpRequest httpRequest)
throws Exception
DynamicWebHandlerhandleRequest in class DynamicWebHandlerchannelHandlerContext - the Netty context this request originates fromqueryDecoder - a decoder for possible query parameterspath - a path provider with the provided parametershttpRequest - the HTTP request that was received and should be handledException - when any error occurred during the handling of the requestpublic abstract io.netty.handler.codec.http.FullHttpResponse connect(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
throws Exception
CONNECT request to the configured path.channelHandlerContext - the Netty context this request originates fromqueryDecoder - a decoder for possible query parameterspathProvider - a path provider with the provided parametershttpRequest - the HTTP request that was received and should be handledException - when any error occurred during the handling of the requestpublic abstract io.netty.handler.codec.http.FullHttpResponse delete(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
throws Exception
DELETE request to the configured path.channelHandlerContext - the Netty context this request originates fromqueryDecoder - a decoder for possible query parameterspathProvider - a path provider with the provided parametershttpRequest - the HTTP request that was received and should be handledException - when any error occurred during the handling of the requestpublic abstract io.netty.handler.codec.http.FullHttpResponse get(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
throws Exception
GET request to the configured path.channelHandlerContext - the Netty context this request originates fromqueryDecoder - a decoder for possible query parameterspathProvider - a path provider with the provided parametershttpRequest - the HTTP request that was received and should be handledException - when any error occurred during the handling of the requestpublic abstract io.netty.handler.codec.http.FullHttpResponse put(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
throws Exception
PUT request to the configured path.channelHandlerContext - the Netty context this request originates fromqueryDecoder - a decoder for possible query parameterspathProvider - a path provider with the provided parametershttpRequest - the HTTP request that was received and should be handledException - when any error occurred during the handling of the requestpublic abstract io.netty.handler.codec.http.FullHttpResponse head(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
throws Exception
HEAD request to the configured path.channelHandlerContext - the Netty context this request originates fromqueryDecoder - a decoder for possible query parameterspathProvider - a path provider with the provided parametershttpRequest - the HTTP request that was received and should be handledException - when any error occurred during the handling of the requestpublic abstract io.netty.handler.codec.http.FullHttpResponse options(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
throws Exception
OPTIONS request to the configured path.channelHandlerContext - the Netty context this request originates fromqueryDecoder - a decoder for possible query parameterspathProvider - a path provider with the provided parametershttpRequest - the HTTP request that was received and should be handledException - when any error occurred during the handling of the requestpublic abstract io.netty.handler.codec.http.FullHttpResponse patch(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
throws Exception
PATCH request to the configured path.channelHandlerContext - the Netty context this request originates fromqueryDecoder - a decoder for possible query parameterspathProvider - a path provider with the provided parametershttpRequest - the HTTP request that was received and should be handledException - when any error occurred during the handling of the requestpublic abstract io.netty.handler.codec.http.FullHttpResponse trace(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
throws Exception
TRACE request to the configured path.channelHandlerContext - the Netty context this request originates fromqueryDecoder - a decoder for possible query parameterspathProvider - a path provider with the provided parametershttpRequest - the HTTP request that was received and should be handledException - when any error occurred during the handling of the requestpublic abstract io.netty.handler.codec.http.FullHttpResponse post(io.netty.channel.ChannelHandlerContext channelHandlerContext,
QueryDecoder queryDecoder,
PathProvider pathProvider,
io.netty.handler.codec.http.HttpRequest httpRequest)
throws Exception
POST request to the configured path.channelHandlerContext - the Netty context this request originates fromqueryDecoder - a decoder for possible query parameterspathProvider - a path provider with the provided parametershttpRequest - the HTTP request that was received and should be handledException - when any error occurred during the handling of the requestCopyright © 2020. All rights reserved.