Skip to content

Instantly share code, notes, and snippets.

@sreevatsanraman
Created December 2, 2015 06:06
Show Gist options
  • Save sreevatsanraman/11f12d62baa3c7ae95ab to your computer and use it in GitHub Desktop.
Save sreevatsanraman/11f12d62baa3c7ae95ab to your computer and use it in GitHub Desktop.
NettyHTTP Service
NettyHttpService service = NettyHttpService.builder()
.setPort(7777)
.addHttpHandlers(ImmutableList.of(new UserInfoHandler(), new StatusHandler()))
.build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment