JBoss Netty extension

Introduction

This connector is based on the JBoss Netty open-source web server.

Description

This connector supports the following protocols: HTTP and HTTPS.

The list of supported specific parameters is available in the javadocs:

For additional details, please consult the Javadocs.

Usage example

HTTPS

For general information on Netty HTTPS/SSL configuration, please read this document. For configuration of the connector in a Restlet component, you will need to set some of the HTTPS parameters listed above, for example:

Server server = myComponent.getServers().add(Protocol.HTTPS, 8183);
server.getContext().getParameters().add("keystorePath", "<your-path>");
server.getContext().getParameters().add("keystorePassword", "<your-password>");
server.getContext().getParameters().add("keyPassword", "<your-password>");
Comments (0)