}
}
private void configureCompressionForListener(UrsusJerseyApplicationConfiguration.NetworkListener networkListenerConfig, NetworkListener listener) {
UrsusJerseyApplicationConfiguration.Compression compression = networkListenerConfig.getCompression();
CompressionConfig compressionConfig = listener.getCompressionConfig();
compressionConfig.setCompressionMode(CompressionConfig.CompressionMode.fromString(compression.getCompressionMode()));
compressionConfig.setCompressionMinSize(compression.getCompressionMinSize());
compressionConfig.setCompressableMimeTypes(new HashSet<>(compression.getCompressableMimeTypes()));
compressionConfig.setNoCompressionUserAgents(new HashSet<>(compression.getNoCompressionUserAgents()));
}