Uses of Class
org.glassfish.jersey.server.ResourceConfig
Package
Description
Jersey Grizzly 3.x container classes.
The container adapter between
JDK HTTP server
and Jersey Jersey application handler
classes.Jersey server-side classes.
Provides core server filters.
Jersey server-side monitoring JMX MBeans interfaces.
Jersey server-side service provider contract (SPI) classes.
Jersey generic Servlet container integration classes.
Jersey internal Servlet API.
Jersey Simple 6.x container classes.
-
Uses of ResourceConfig in org.glassfish.jersey.grizzly2.httpserver
Modifier and TypeMethodDescriptionstatic org.glassfish.grizzly.http.server.HttpServer
GrizzlyHttpServerFactory.createHttpServer
(URI uri, ResourceConfig configuration) Create newHttpServer
instance.static org.glassfish.grizzly.http.server.HttpServer
GrizzlyHttpServerFactory.createHttpServer
(URI uri, ResourceConfig configuration, boolean start) Create newHttpServer
instance.static org.glassfish.grizzly.http.server.HttpServer
GrizzlyHttpServerFactory.createHttpServer
(URI uri, ResourceConfig configuration, boolean secure, org.glassfish.grizzly.ssl.SSLEngineConfigurator sslEngineConfigurator) Create newHttpServer
instance.static org.glassfish.grizzly.http.server.HttpServer
GrizzlyHttpServerFactory.createHttpServer
(URI uri, ResourceConfig configuration, boolean secure, org.glassfish.grizzly.ssl.SSLEngineConfigurator sslEngineConfigurator, boolean start) Create newHttpServer
instance.static org.glassfish.grizzly.http.server.HttpServer
GrizzlyHttpServerFactory.createHttpServer
(URI uri, ResourceConfig config, boolean secure, org.glassfish.grizzly.ssl.SSLEngineConfigurator sslEngineConfigurator, Object parentContext) Create newHttpServer
instance.static org.glassfish.grizzly.http.server.HttpServer
GrizzlyHttpServerFactory.createHttpServer
(URI uri, ResourceConfig config, boolean secure, org.glassfish.grizzly.ssl.SSLEngineConfigurator sslEngineConfigurator, Object parentContext, boolean start) Create newHttpServer
instance.static org.glassfish.grizzly.http.server.HttpServer
GrizzlyHttpServerFactory.createHttpServer
(URI uri, ResourceConfig config, Object parentContext) Create newHttpServer
instance.static org.glassfish.grizzly.http.server.HttpServer
GrizzlyHttpServerFactory.createHttpServer
(URI uri, ResourceConfig config, Object parentContext, boolean start) Create newHttpServer
instance.void
GrizzlyHttpContainer.reload
(ResourceConfig configuration) -
Uses of ResourceConfig in org.glassfish.jersey.jdkhttp
Modifier and TypeMethodDescriptionstatic HttpServer
JdkHttpServerFactory.createHttpServer
(URI uri, ResourceConfig configuration) Create and start theJDK HttpServer
with the Jersey application deployed at the givenURI
.static HttpServer
JdkHttpServerFactory.createHttpServer
(URI uri, ResourceConfig configuration, boolean start) Create (and possibly start) theJDK HttpServer
with the JAX-RS / Jersey application deployed on the givenURI
.static HttpServer
JdkHttpServerFactory.createHttpServer
(URI uri, ResourceConfig configuration, Object parentContext) Create (and possibly start) theJDK HttpServer
with the JAX-RS / Jersey application deployed on the givenURI
.static HttpServer
JdkHttpServerFactory.createHttpServer
(URI uri, ResourceConfig configuration, Object parentContext, SSLContext sslContext, boolean start) Create (and possibly start) theJDK HttpServer
, eventuallyHttpServer
's subclassHttpsServer
with the JAX-RS / Jersey application deployed on the givenURI
.static HttpServer
JdkHttpServerFactory.createHttpServer
(URI uri, ResourceConfig configuration, SSLContext sslContext) Create and start theJDK HttpServer
, eventuallyHttpServer
's subclassJDK HttpsServer
with the JAX-RS / Jersey application deployed on the givenURI
.static HttpServer
JdkHttpServerFactory.createHttpServer
(URI uri, ResourceConfig configuration, SSLContext sslContext, boolean start) Create (and possibly start) theJDK HttpServer
, eventuallyHttpServer
's subclassJDK HttpsServer
with the JAX-RS / Jersey application deployed on the givenURI
.void
JdkHttpHandlerContainer.reload
(ResourceConfig configuration) -
Uses of ResourceConfig in org.glassfish.jersey.server
Modifier and TypeMethodDescriptionfinal ResourceConfig
ResourceConfig.addProperties
(Map<String, Object> properties) Add properties toResourceConfig
.final ResourceConfig
Adds array of file and directory names to scan for components.final ResourceConfig
Adds array of file and directory names to scan for components.static ResourceConfig
ResourceConfig.forApplication
(Application application) Returns aResourceConfig
instance for the supplied application.static ResourceConfig
ResourceConfig.forApplicationClass
(Class<? extends Application> applicationClass) Returns aResourceConfig
instance wrapping the application of the supplied class.static ResourceConfig
ResourceConfig.forApplicationClass
(Class<? extends Application> applicationClass, Set<Class<?>> defaultClasses) Returns aResourceConfig
instance wrapping the application of the supplied class.ApplicationHandler.getConfiguration()
Get the application configuration.ServerBootstrapBag.getRuntimeConfig()
final ResourceConfig
ResourceConfig.packages
(boolean recursive, ClassLoader classLoader, String... packages) Adds array of package names which will be used to scan for components.final ResourceConfig
Adds array of package names which will be used to scan for components.final ResourceConfig
Adds array of package names which will be used to scan for components.final ResourceConfig
ResourceConfig.registerClasses
(Class<?>... classes) Register annotated JAX-RS resource, JAX-RS or Jersey contract provider or JAX-RS feature in theResourceConfig
.final ResourceConfig
ResourceConfig.registerClasses
(Set<Class<?>> classes) Register annotated JAX-RS resource, JAX-RS or Jersey contract provider or JAX-RS feature in theResourceConfig
.final ResourceConfig
ResourceConfig.registerFinder
(ResourceFinder resourceFinder) Add aResourceFinder
toResourceConfig
.final ResourceConfig
ResourceConfig.registerInstances
(Object... instances) Register annotated JAX-RS resource, JAX-RS or Jersey contract provider, JAX-RS feature,Jersey Binder
instances (singletons) in theResourceConfig
.final ResourceConfig
ResourceConfig.registerInstances
(Set<Object> instances) Register annotated JAX-RS resource, JAX-RS or Jersey contract provider, JAX-RS featureJersey Binder
instances (singletons) in theResourceConfig
.final ResourceConfig
ResourceConfig.registerResources
(Set<Resource> resources) Register new resource models in theResourceConfig
.final ResourceConfig
ResourceConfig.registerResources
(Resource... resources) Register new programmatic resource models in theResourceConfig
.final ResourceConfig
ResourceConfig.setApplicationName
(String applicationName) Set the name of the application.final ResourceConfig
ResourceConfig.setClassLoader
(ClassLoader classLoader) SetClassLoader
which will be used for resource discovery.ResourceConfig.setProperties
(Map<String, ?> properties) Set new configuration properties replacing all previously set properties.ModifierConstructorDescriptionResourceConfig
(ResourceConfig original) Create a defensive resource configuration copy initialized with a givenResourceConfig
. -
Uses of ResourceConfig in org.glassfish.jersey.server.filter
Modifier and TypeMethodDescriptionstatic void
EncodingFilter.enableFor
(ResourceConfig rc, Class<? extends ContentEncoder>... encoders) Enables this filter along with the providedencoders
for the suppliedResourceConfig
.static void
HttpMethodOverrideFilter.enableFor
(ResourceConfig rc, HttpMethodOverrideFilter.Source... sources) Registers this filter into the passedResourceConfig
instance and configures it. -
Uses of ResourceConfig in org.glassfish.jersey.server.monitoring
Modifier and TypeMethodDescriptionApplicationEvent.getResourceConfig()
Get resource config associated with the application.ApplicationInfo.getResourceConfig()
Get the resource config. -
Uses of ResourceConfig in org.glassfish.jersey.server.spi
Modifier and TypeMethodDescriptionContainer.getConfiguration()
Return an immutable representation of the currentconfiguration
.Modifier and TypeMethodDescriptionvoid
Container.reload
(ResourceConfig configuration) Reload the hosted Jersey application using a newconfiguration
. -
Uses of ResourceConfig in org.glassfish.jersey.servlet
ModifierConstructorDescriptionServletContainer
(ResourceConfig resourceConfig) Create Jersey Servlet container.WebComponent
(WebConfig webConfig, ResourceConfig resourceConfig) Create and initialize new web component instance. -
Uses of ResourceConfig in org.glassfish.jersey.servlet.internal
Modifier and TypeMethodDescriptionstatic ResourceConfig
Loadresource config
from givenservlet context
.Modifier and TypeMethodDescriptionstatic void
Utils.store
(ResourceConfig config, jakarta.servlet.ServletContext context, String configName) Storeresource config
as an attribute of givenservlet context
. -
Uses of ResourceConfig in org.glassfish.jersey.simple
Modifier and TypeMethodDescriptionstatic SimpleServer
SimpleContainerFactory.create
(URI address, SSLContext context, ResourceConfig config) Create aCloseable
that registers anContainer
that in turn manages all root resource and provider classes declared by the resource configuration.static SimpleServer
SimpleContainerFactory.create
(URI address, SSLContext context, ResourceConfig config, int count, int select) Create aCloseable
that registers anContainer
that in turn manages all root resource and provider classes declared by the resource configuration.static SimpleServer
SimpleContainerFactory.create
(URI address, SSLContext context, ResourceConfig config, Object parentContext, int count, int select) Create aCloseable
that registers anContainer
that in turn manages all root resource and provider classes declared by the resource configuration.static SimpleServer
SimpleContainerFactory.create
(URI address, ResourceConfig config) Create aCloseable
that registers anContainer
that in turn manages all root resource and provider classes declared by the resource configuration.static SimpleServer
SimpleContainerFactory.create
(URI address, ResourceConfig config, int count, int select) Create aCloseable
that registers anContainer
that in turn manages all root resource and provider classes declared by the resource configuration.void
SimpleContainer.reload
(ResourceConfig configuration)