Class HttpService

java.lang.Object
com.google.common.util.concurrent.AbstractExecutionThreadService
All Implemented Interfaces:
EngineServices.ConfigurableService<HttpService.HttpServiceConfig>, EngineServices.InfoProvidingService, com.google.common.util.concurrent.Service

@Singleton public class HttpService extends AbstractEngineExecutionThreadService<HttpService.HttpServiceConfig>
HttpService uses a embedded Jetty Server with secure defaults and configuration options for TLS, Caching, CORS, CSP, exclude-/include access lists and more.

Custom HttpService.FilterConfig, HttpService.ServletConfig can be injected. HttpService.JerseyConfig can be used to inject REST-like API resources using Jersey.