# Change the default channel in Netty4HttpServerTransport file

**URL:** <https://discuss.elastic.co/t/change-the-default-channel-in-netty4httpservertransport-file/172289>\
**Category:** Elasticsearch\
**Created:** [March 14, 2019, 9:31am UTC](https://discuss.elastic.co/t/change-the-default-channel-in-netty4httpservertransport-file/172289 "2019-03-14T09:31:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MKU](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mku/32/48327_2.png) [@MKU](https://discuss.elastic.co/u/MKU)\
**Post date:** [March 14, 2019, 9:31am UTC](https://discuss.elastic.co/t/change-the-default-channel-in-netty4httpservertransport-file/172289/1 "2019-03-14T09:31:15Z")

</div>

I am trying to configure SSL for elasticsearch ,so i extend Netty4HttpServerTransport class to add my own channel,but i want to add my custom class to Netty4HttpServerTransport file,so that it gets called as default channel, something like this **HttpServerModule.setHttpServerTransport(CustomNettyHttpServerTransport.class, "ssl");**

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 11, 2019, 9:31am UTC](https://discuss.elastic.co/t/change-the-default-channel-in-netty4httpservertransport-file/172289/2 "2019-04-11T09:31:16Z")

</div>

Closed on April 11, 2019, 9:31am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
