Rigo MacTaggart created AVRO-1668:
-------------------------------------
Summary: Add ability to provide custom ChannelUpstreamHandler to
NettyServer
Key: AVRO-1668
URL: https://issues.apache.org/jira/browse/AVRO-1668
Project: Avro
Issue Type: Improvement
Components: java
Affects Versions: 1.7.7
Reporter: Rigo MacTaggart
The NettyServer constructor adds a new instance of NettyServerAvroHandler to
the ChannelPipeline. For those who'd like to provide their own handler (by
extending NettyServerAvroHandler or ChannelUpstreamHandler) a protected
"createNettyServerAvroHandler" method can instead be called. This will allow
sub classes of NettyServer to provide their own handler.
This follows the same pattern found in NettyTransceiver, where the protected
"createNettyClientAvroHandler" method is called when creating the
ChannelPipeline.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)