Package io.dropwizard.jersey
Class DropwizardResourceConfig
java.lang.Object
jakarta.ws.rs.core.Application
org.glassfish.jersey.server.ResourceConfig
io.dropwizard.jersey.DropwizardResourceConfig
- All Implemented Interfaces:
jakarta.ws.rs.core.Configurable<org.glassfish.jersey.server.ResourceConfig>,jakarta.ws.rs.core.Configuration,org.glassfish.jersey.ApplicationSupplier,org.glassfish.jersey.ExtendedConfig,org.glassfish.jersey.server.ServerConfig
public class DropwizardResourceConfig
extends org.glassfish.jersey.server.ResourceConfig
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDropwizardResourceConfig(@Nullable com.codahale.metrics.MetricRegistry metricRegistry) -
Method Summary
Modifier and TypeMethodDescriptionstatic DropwizardResourceConfigBuild aDropwizardResourceConfigwhich makes Jersey Test run on a random port, also seeorg.glassfish.jersey.test.TestProperties#CONTAINER_PORT.static DropwizardResourceConfigforTesting(@Nullable com.codahale.metrics.MetricRegistry metricRegistry) Build aDropwizardResourceConfigwhich makes Jersey Test run on a random port, also seeorg.glassfish.jersey.test.TestProperties#CONTAINER_PORT.org.glassfish.jersey.server.ResourceConfigvoidsetContextPath(String contextPath) voidsetUrlPattern(String urlPattern) Methods inherited from class org.glassfish.jersey.server.ResourceConfig
addProperties, files, files, forApplication, forApplicationClass, forApplicationClass, getApplication, getApplicationName, getApplicationPath, getClasses, getClassLoader, getConfiguration, getContracts, getInstances, getProperties, getProperty, getPropertyNames, getResources, getRuntimeType, getSingletons, hasProperty, isEnabled, isEnabled, isProperty, isRegistered, isRegistered, packages, packages, packages, property, register, register, register, register, register, register, register, registerClasses, registerClasses, registerFinder, registerInstances, registerInstances, registerResources, registerResources, setApplicationName, setClassLoader, setProperties
-
Constructor Details
-
DropwizardResourceConfig
public DropwizardResourceConfig() -
DropwizardResourceConfig
public DropwizardResourceConfig(@Nullable com.codahale.metrics.MetricRegistry metricRegistry)
-
-
Method Details
-
forTesting
Build aDropwizardResourceConfigwhich makes Jersey Test run on a random port, also seeorg.glassfish.jersey.test.TestProperties#CONTAINER_PORT.- Since:
- 2.0
-
forTesting
public static DropwizardResourceConfig forTesting(@Nullable com.codahale.metrics.MetricRegistry metricRegistry) Build aDropwizardResourceConfigwhich makes Jersey Test run on a random port, also seeorg.glassfish.jersey.test.TestProperties#CONTAINER_PORT.- Since:
- 2.0
-
getUrlPattern
-
setUrlPattern
-
getContextPath
- Since:
- 2.0
-
setContextPath
-
getEndpointsInfo
- Since:
- 2.0
-
register
- Specified by:
registerin interfacejakarta.ws.rs.core.Configurable<org.glassfish.jersey.server.ResourceConfig>- Overrides:
registerin classorg.glassfish.jersey.server.ResourceConfig
-