Make configuration of acceptors and selectors compatible with Jetty 8

The ServerConnector class doesn’t exist in Jetty 8 so we have to
resort to reflection to create and configure a SelectChannelConnector
instead.

Closes gh-5649
See gh-5380
This commit is contained in:
Andy Wilkinson
2016-04-11 20:51:55 +01:00
parent fa142d929a
commit 69499bf329
2 changed files with 68 additions and 13 deletions

View File

@@ -1,3 +1,2 @@
server.compression.enabled: true
server.compression.min-response-size: 1
server.jetty.acceptors=2