Package io.micronaut.http.netty.channel
Interface ChannelPipelineCustomizer
- All Known Subinterfaces:
NettyEmbeddedServer
- All Known Implementing Classes:
DefaultNettyHttpClientRegistry
,NettyHttpServer
public interface ChannelPipelineCustomizer
Interface that allows customizations to the
ChannelPipeline
.- Since:
- 2.0.0
- Author:
- graemerocher
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
Handler that listens for channelActive to trigger, which will finish up the connection setup.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doOnConnect
(@NonNull ChannelPipelineListener listener) Deprecated.Use NettyClientCustomizer or NettyServerCustomizer instead.boolean
Deprecated.Use NettyClientCustomizer or NettyServerCustomizer instead.default boolean
Deprecated.Use NettyClientCustomizer or NettyServerCustomizer instead.
-
Field Details
-
HANDLER_HTTP_COMPRESSOR
- See Also:
-
HANDLER_HTTP_DECOMPRESSOR
- See Also:
-
HANDLER_HTTP_KEEP_ALIVE
- See Also:
-
HANDLER_HTTP_AGGREGATOR
- See Also:
-
HANDLER_HTTP_CHUNK
- See Also:
-
HANDLER_HTTP_STREAM
- See Also:
-
HANDLER_HTTP_DECODER
- See Also:
-
HANDLER_HTTP_PROXY
- See Also:
-
HANDLER_HTTP_CLIENT_CODEC
- See Also:
-
HANDLER_HTTP_SERVER_CODEC
- See Also:
-
HANDLER_HTTP_CLIENT_INIT
- See Also:
-
HANDLER_HTTP_TO_HTTPS_REDIRECT
- See Also:
-
HANDLER_FLOW_CONTROL
- See Also:
-
HANDLER_CONNECT_TTL
- See Also:
-
HANDLER_IDLE_STATE
- See Also:
-
HANDLER_MICRONAUT_WEBSOCKET_CLIENT
- See Also:
-
HANDLER_SOCKS_5_PROXY
- See Also:
-
HANDLER_MICRONAUT_FULL_HTTP_RESPONSE
- See Also:
-
HANDLER_READ_TIMEOUT
- See Also:
-
HANDLER_SSL
- See Also:
-
HANDLER_MICRONAUT_SSE_EVENT_STREAM
- See Also:
-
HANDLER_MICRONAUT_SSE_CONTENT
- See Also:
-
HANDLER_MICRONAUT_HTTP_RESPONSE_STREAM
- See Also:
-
HANDLER_MICRONAUT_HTTP_RESPONSE_FULL
- See Also:
-
HANDLER_MICRONAUT_HTTP_RESPONSE
- See Also:
-
HANDLER_HTTP2_CONNECTION
- See Also:
-
HANDLER_HTTP2_SETTINGS
- See Also:
-
HANDLER_HTTP2_UPGRADE_REQUEST
- See Also:
-
HANDLER_HTTP2_PROTOCOL_NEGOTIATOR
- See Also:
-
HANDLER_WEBSOCKET_UPGRADE
- See Also:
-
HANDLER_MICRONAUT_INBOUND
- See Also:
-
HANDLER_ACCESS_LOGGER
- See Also:
-
HANDLER_INITIAL_ERROR
- See Also:
-
HANDLER_ACTIVITY_LISTENER
Handler that listens for channelActive to trigger, which will finish up the connection setup.- See Also:
-
-
Method Details
-
isClientChannel
Deprecated.Use NettyClientCustomizer or NettyServerCustomizer instead.- Returns:
- Is this customizer the client.
-
isServerChannel
Deprecated.Use NettyClientCustomizer or NettyServerCustomizer instead.- Returns:
- Is this customizer the server.
-
doOnConnect
Deprecated.Use NettyClientCustomizer or NettyServerCustomizer instead.A hook to customize the pipeline upon establishing a connection.- Parameters:
listener
- The listener The listener.
-