SseServerPipelineConfigurator instead.@Deprecated public class SseOverHttpServerPipelineConfigurator<I> extends java.lang.Object implements PipelineConfigurator<HttpServerRequest<I>,HttpServerResponse<ServerSentEvent>>
SSEServerPipelineConfigurator that enables SSE over HTTP. ServerSentEventEncoder| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SSE_RESPONSE_HEADERS_COMPLETER
Deprecated.
|
| Constructor and Description |
|---|
SseOverHttpServerPipelineConfigurator()
Deprecated.
|
SseOverHttpServerPipelineConfigurator(HttpServerPipelineConfigurator<I,?> serverPipelineConfigurator)
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 java.lang.String SSE_RESPONSE_HEADERS_COMPLETER
public SseOverHttpServerPipelineConfigurator()
public SseOverHttpServerPipelineConfigurator(HttpServerPipelineConfigurator<I,?> serverPipelineConfigurator)
public void configureNewPipeline(io.netty.channel.ChannelPipeline pipeline)
PipelineConfiguratorpipeline. This will be invoked everytime a new netty pipeline is
created, which is whenever a new channel is established.configureNewPipeline in interface PipelineConfigurator<HttpServerRequest<I>,HttpServerResponse<ServerSentEvent>>pipeline - The pipeline to configure.