Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 8 to Jetty 9 SSL Migration

Since SPDY is now in the picture, the initialization is a bit different.

The ManyConnectors embedded example should help.
http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/examples/embedded/src/main/java/org/eclipse/jetty/embedded/ManyConnectors.java

--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Developer advice, services and support
from the Jetty & CometD experts


On Wed, Mar 13, 2013 at 9:01 AM, Will Hoover <java.whoover@xxxxxxxxx> wrote:

In Jetty 8 I used to be able to do the following. What is the Jetty 9 equivalent? I can't seem to find SslSelectChannelConnector or SelectChannelConnector in Jetty 9.

 

SslSelectChannelConnector sslCnct = new SslSelectChannelConnector(sslCnxt);

sslCnct.setPort(9080);

sslCnct.setHost("localhost");

SelectChannelConnector httpCnct = new SelectChannelConnector();

httpCnct.setPort(8080);

httpCnct.setHost("localhost");

                                               

server.setConnectors(new Connector[] { httpCnct, sslCnct });

 

 


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top