public abstract class AbstractJerseyService
extends com.google.common.util.concurrent.AbstractIdleService
| Modifier and Type | Field and Description |
|---|---|
protected org.glassfish.grizzly.http.server.HttpServer |
httpServer |
| Constructor and Description |
|---|
AbstractJerseyService(Set<Class<? extends javax.ws.rs.container.DynamicFeature>> dynamicFeatures,
Set<Class<? extends javax.ws.rs.container.ContainerResponseFilter>> containerResponseFilters,
Set<Class<? extends javax.ws.rs.ext.ExceptionMapper>> exceptionMappers,
Set<Class> additionalComponents,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
com.codahale.metrics.MetricRegistry metricRegistry) |
| Modifier and Type | Method and Description |
|---|---|
protected org.glassfish.jersey.server.ResourceConfig |
buildResourceConfig(boolean enableGzip,
boolean enableCors,
Set<org.glassfish.jersey.server.model.Resource> additionalResources,
String[] controllerPackages) |
protected org.glassfish.grizzly.ssl.SSLEngineConfigurator |
buildSslEngineConfigurator(java.nio.file.Path certFile,
java.nio.file.Path keyFile,
String keyPassword) |
protected ExecutorService |
instrumentedExecutor(String executorName,
String threadNameFormat,
int poolSize) |
protected org.glassfish.grizzly.http.server.HttpServer |
setUp(String namePrefix,
URI listenUri,
boolean enableTls,
java.nio.file.Path tlsCertFile,
java.nio.file.Path tlsKeyFile,
String tlsKeyPassword,
int threadPoolSize,
int maxInitialLineLength,
int maxHeaderSize,
boolean enableGzip,
boolean enableCors,
Set<org.glassfish.jersey.server.model.Resource> additionalResources,
String[] controllerPackages) |
public AbstractJerseyService(Set<Class<? extends javax.ws.rs.container.DynamicFeature>> dynamicFeatures, Set<Class<? extends javax.ws.rs.container.ContainerResponseFilter>> containerResponseFilters, Set<Class<? extends javax.ws.rs.ext.ExceptionMapper>> exceptionMappers, Set<Class> additionalComponents, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.codahale.metrics.MetricRegistry metricRegistry)
protected org.glassfish.jersey.server.ResourceConfig buildResourceConfig(boolean enableGzip,
boolean enableCors,
Set<org.glassfish.jersey.server.model.Resource> additionalResources,
String[] controllerPackages)
protected org.glassfish.grizzly.http.server.HttpServer setUp(String namePrefix, URI listenUri, boolean enableTls, java.nio.file.Path tlsCertFile, java.nio.file.Path tlsKeyFile, String tlsKeyPassword, int threadPoolSize, int maxInitialLineLength, int maxHeaderSize, boolean enableGzip, boolean enableCors, Set<org.glassfish.jersey.server.model.Resource> additionalResources, String[] controllerPackages) throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOExceptionprotected org.glassfish.grizzly.ssl.SSLEngineConfigurator buildSslEngineConfigurator(java.nio.file.Path certFile, java.nio.file.Path keyFile, String keyPassword) throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOExceptionprotected ExecutorService instrumentedExecutor(String executorName, String threadNameFormat, int poolSize)
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.