|
|
|
@ -189,8 +189,8 @@ class UndertowWebServerFactoryDelegate {
|
|
|
|
|
|
|
|
|
|
static List<HttpHandlerFactory> createHttpHandlerFactories(Compression compression, boolean useForwardHeaders,
|
|
|
|
|
String serverHeader, Shutdown shutdown, HttpHandlerFactory... initialHttpHandlerFactories) {
|
|
|
|
|
List<HttpHandlerFactory> factories = new ArrayList<HttpHandlerFactory>();
|
|
|
|
|
factories.addAll(Arrays.asList(initialHttpHandlerFactories));
|
|
|
|
|
List<HttpHandlerFactory> factories =
|
|
|
|
|
new ArrayList<HttpHandlerFactory>(Arrays.asList(initialHttpHandlerFactories));
|
|
|
|
|
if (compression != null && compression.getEnabled()) {
|
|
|
|
|
factories.add(new CompressionHttpHandlerFactory(compression));
|
|
|
|
|
}
|
|
|
|
|