@Experimental
public interface InboundChannelHandlerFactory
| Modifier and Type | Method and Description |
|---|---|
Optional<org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandler> |
createHandler(org.apache.flink.configuration.Configuration configuration,
Map<String,String> responseHeaders)
Creates new instance of
ChannelHandler |
int |
priority()
Gives back priority of the
ChannelHandler. |
int priority()
ChannelHandler. The bigger the value is, the earlier it is
executed. If multiple handlers have the same priority then the order is not defined.ChannelHandler.Optional<org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandler> createHandler(org.apache.flink.configuration.Configuration configuration, Map<String,String> responseHeaders) throws org.apache.flink.util.ConfigurationException
ChannelHandlerconfiguration - The Flink Configuration.responseHeaders - The response headers.ChannelHandler or null if no custom handler need to be created.org.apache.flink.util.ConfigurationException - Thrown, if the handler configuration is incorrect.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.