W
- The request type for the client pipeline.@Deprecated public class SSEClientPipelineConfigurator<W> extends java.lang.Object implements PipelineConfigurator<ServerSentEvent,W>
PipelineConfigurator
that will setup Netty's pipeline for a client recieving
Server Sent Events. ByteBuf
objects to ServerSentEvent
. So, if the client is an HTTP client, then you would
have to use SseOverHttpClientPipelineConfigurator
instead.ServerSentEventDecoder
Modifier and Type | Field and Description |
---|---|
static SSEInboundHandler |
SSE_INBOUND_HANDLER
Deprecated.
|
Constructor and Description |
---|
SSEClientPipelineConfigurator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
configureNewPipeline(io.netty.channel.ChannelPipeline pipeline)
Deprecated.
A callback to configure the passed
pipeline . |
public static final SSEInboundHandler SSE_INBOUND_HANDLER
public void configureNewPipeline(io.netty.channel.ChannelPipeline pipeline)
PipelineConfigurator
pipeline
. This will be invoked everytime a new netty pipeline is
created, which is whenever a new channel is established.configureNewPipeline
in interface PipelineConfigurator<ServerSentEvent,W>
pipeline
- The pipeline to configure.