mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 13:26:02 +00:00
Allow for Netty 4 HTTP extensions
This commit enables the Netty 4 HTTP server implementation to allow for extensions.
This commit is contained in:
parent
00ca6c417e
commit
669daccfbb
@ -525,12 +525,12 @@ public class Netty4HttpServerTransport extends AbstractLifecycleComponent implem
|
||||
return new HttpChannelHandler(this, detailedErrorsEnabled, threadPool.getThreadContext());
|
||||
}
|
||||
|
||||
static class HttpChannelHandler extends ChannelInitializer<SocketChannel> {
|
||||
protected static class HttpChannelHandler extends ChannelInitializer<SocketChannel> {
|
||||
|
||||
private final Netty4HttpServerTransport transport;
|
||||
private final Netty4HttpRequestHandler requestHandler;
|
||||
|
||||
HttpChannelHandler(
|
||||
protected HttpChannelHandler(
|
||||
final Netty4HttpServerTransport transport,
|
||||
final boolean detailedErrorsEnabled,
|
||||
final ThreadContext threadContext) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user