Uses of Class
org.glassfish.jersey.server.ResourceConfig
Packages that use 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 internal monitoring and statistics classes.
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 internal Servlet SPI.
Jersey Simple 6.x container classes.
-
Uses of ResourceConfig in org.glassfish.jersey.grizzly2.httpserver
Methods in org.glassfish.jersey.grizzly2.httpserver that return ResourceConfigMethods in org.glassfish.jersey.grizzly2.httpserver with parameters of type ResourceConfigModifier and TypeMethodDescriptionstatic org.glassfish.grizzly.http.server.HttpServerGrizzlyHttpServerFactory.createHttpServer(URI uri, ResourceConfig configuration) Create newHttpServerinstance.static org.glassfish.grizzly.http.server.HttpServerGrizzlyHttpServerFactory.createHttpServer(URI uri, ResourceConfig configuration, boolean start) Create newHttpServerinstance.static org.glassfish.grizzly.http.server.HttpServerGrizzlyHttpServerFactory.createHttpServer(URI uri, ResourceConfig configuration, boolean secure, org.glassfish.grizzly.ssl.SSLEngineConfigurator sslEngineConfigurator) Create newHttpServerinstance.static org.glassfish.grizzly.http.server.HttpServerGrizzlyHttpServerFactory.createHttpServer(URI uri, ResourceConfig configuration, boolean secure, org.glassfish.grizzly.ssl.SSLEngineConfigurator sslEngineConfigurator, boolean start) Create newHttpServerinstance.static org.glassfish.grizzly.http.server.HttpServerGrizzlyHttpServerFactory.createHttpServer(URI uri, ResourceConfig config, boolean secure, org.glassfish.grizzly.ssl.SSLEngineConfigurator sslEngineConfigurator, Object parentContext) Create newHttpServerinstance.static org.glassfish.grizzly.http.server.HttpServerGrizzlyHttpServerFactory.createHttpServer(URI uri, ResourceConfig config, boolean secure, org.glassfish.grizzly.ssl.SSLEngineConfigurator sslEngineConfigurator, Object parentContext, boolean start) Create newHttpServerinstance.static org.glassfish.grizzly.http.server.HttpServerGrizzlyHttpServerFactory.createHttpServer(URI uri, ResourceConfig config, Object parentContext) Create newHttpServerinstance.static org.glassfish.grizzly.http.server.HttpServerGrizzlyHttpServerFactory.createHttpServer(URI uri, ResourceConfig config, Object parentContext, boolean start) Create newHttpServerinstance.voidGrizzlyHttpContainer.reload(ResourceConfig configuration) -
Uses of ResourceConfig in org.glassfish.jersey.jdkhttp
Methods in org.glassfish.jersey.jdkhttp that return ResourceConfigMethods in org.glassfish.jersey.jdkhttp with parameters of type ResourceConfigModifier and TypeMethodDescriptionstatic HttpServerJdkHttpServerFactory.createHttpServer(URI uri, ResourceConfig configuration) Create and start theJDK HttpServerwith the Jersey application deployed at the givenURI.static HttpServerJdkHttpServerFactory.createHttpServer(URI uri, ResourceConfig configuration, boolean start) Create (and possibly start) theJDK HttpServerwith the JAX-RS / Jersey application deployed on the givenURI.static HttpServerJdkHttpServerFactory.createHttpServer(URI uri, ResourceConfig configuration, Object parentContext) Create (and possibly start) theJDK HttpServerwith the JAX-RS / Jersey application deployed on the givenURI.static HttpServerJdkHttpServerFactory.createHttpServer(URI uri, ResourceConfig configuration, Object parentContext, SSLContext sslContext, boolean start) Create (and possibly start) theJDK HttpServer, eventuallyHttpServer's subclassHttpsServerwith the JAX-RS / Jersey application deployed on the givenURI.static HttpServerJdkHttpServerFactory.createHttpServer(URI uri, ResourceConfig configuration, SSLContext sslContext) Create and start theJDK HttpServer, eventuallyHttpServer's subclassJDK HttpsServerwith the JAX-RS / Jersey application deployed on the givenURI.static HttpServerJdkHttpServerFactory.createHttpServer(URI uri, ResourceConfig configuration, SSLContext sslContext, boolean start) Create (and possibly start) theJDK HttpServer, eventuallyHttpServer's subclassJDK HttpsServerwith the JAX-RS / Jersey application deployed on the givenURI.voidJdkHttpHandlerContainer.reload(ResourceConfig configuration) -
Uses of ResourceConfig in org.glassfish.jersey.server
Methods in org.glassfish.jersey.server that return ResourceConfigModifier and TypeMethodDescriptionfinal ResourceConfigResourceConfig.addProperties(Map<String, Object> properties) Add properties toResourceConfig.final ResourceConfigAdds array of file and directory names to scan for components.final ResourceConfigAdds array of file and directory names to scan for components.static ResourceConfigResourceConfig.forApplication(Application application) Returns aResourceConfiginstance for the supplied application.static ResourceConfigResourceConfig.forApplicationClass(Class<? extends Application> applicationClass) Returns aResourceConfiginstance wrapping the application of the supplied class.static ResourceConfigResourceConfig.forApplicationClass(Class<? extends Application> applicationClass, Set<Class<?>> defaultClasses) Returns aResourceConfiginstance wrapping the application of the supplied class.ApplicationHandler.getConfiguration()Get the application configuration.ServerBootstrapBag.getRuntimeConfig()final ResourceConfigResourceConfig.packages(boolean recursive, ClassLoader classLoader, String... packages) Adds array of package names which will be used to scan for components.final ResourceConfigAdds array of package names which will be used to scan for components.final ResourceConfigAdds array of package names which will be used to scan for components.final ResourceConfigResourceConfig.registerClasses(Class<?>... classes) Register annotated JAX-RS resource, JAX-RS or Jersey contract provider or JAX-RS feature in theResourceConfig.final ResourceConfigResourceConfig.registerClasses(Set<Class<?>> classes) Register annotated JAX-RS resource, JAX-RS or Jersey contract provider or JAX-RS feature in theResourceConfig.final ResourceConfigResourceConfig.registerFinder(ResourceFinder resourceFinder) Add aResourceFindertoResourceConfig.final ResourceConfigResourceConfig.registerInstances(Object... instances) Register annotated JAX-RS resource, JAX-RS or Jersey contract provider, JAX-RS feature,Jersey Binderinstances (singletons) in theResourceConfig.final ResourceConfigResourceConfig.registerInstances(Set<Object> instances) Register annotated JAX-RS resource, JAX-RS or Jersey contract provider, JAX-RS featureJersey Binderinstances (singletons) in theResourceConfig.final ResourceConfigResourceConfig.registerResources(Set<Resource> resources) Register new resource models in theResourceConfig.final ResourceConfigResourceConfig.registerResources(Resource... resources) Register new programmatic resource models in theResourceConfig.final ResourceConfigResourceConfig.setApplicationName(String applicationName) Set the name of the application.final ResourceConfigResourceConfig.setClassLoader(ClassLoader classLoader) SetClassLoaderwhich will be used for resource discovery.ResourceConfig.setProperties(Map<String, ?> properties) Set new configuration properties replacing all previously set properties.Constructors in org.glassfish.jersey.server with parameters of type ResourceConfigModifierConstructorDescriptionResourceConfig(ResourceConfig original) Create a defensive resource configuration copy initialized with a givenResourceConfig. -
Uses of ResourceConfig in org.glassfish.jersey.server.filter
Methods in org.glassfish.jersey.server.filter with parameters of type ResourceConfigModifier and TypeMethodDescriptionstatic voidEncodingFilter.enableFor(ResourceConfig rc, Class<? extends ContentEncoder>... encoders) Enables this filter along with the providedencodersfor the suppliedResourceConfig.static voidHttpMethodOverrideFilter.enableFor(ResourceConfig rc, HttpMethodOverrideFilter.Source... sources) Registers this filter into the passedResourceConfiginstance and configures it. -
Uses of ResourceConfig in org.glassfish.jersey.server.internal.monitoring
Methods in org.glassfish.jersey.server.internal.monitoring that return ResourceConfigConstructors in org.glassfish.jersey.server.internal.monitoring with parameters of type ResourceConfigModifierConstructorDescriptionApplicationEventImpl(ApplicationEvent.Type type, ResourceConfig resourceConfig, Set<Class<?>> providers, Set<Class<?>> registeredClasses, Set<Object> registeredInstances, ResourceModel resourceModel) Create a new application event. -
Uses of ResourceConfig in org.glassfish.jersey.server.monitoring
Methods in org.glassfish.jersey.server.monitoring that return ResourceConfigModifier 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
Methods in org.glassfish.jersey.server.spi that return ResourceConfigModifier and TypeMethodDescriptionContainer.getConfiguration()Return an immutable representation of the currentconfiguration.Methods in org.glassfish.jersey.server.spi with parameters of type ResourceConfigModifier and TypeMethodDescriptionvoidContainer.reload(ResourceConfig configuration) Reload the hosted Jersey application using a newconfiguration. -
Uses of ResourceConfig in org.glassfish.jersey.servlet
Methods in org.glassfish.jersey.servlet that return ResourceConfigMethods in org.glassfish.jersey.servlet with parameters of type ResourceConfigConstructors in org.glassfish.jersey.servlet with parameters of type ResourceConfigModifierConstructorDescriptionServletContainer(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
Methods in org.glassfish.jersey.servlet.internal that return ResourceConfigModifier and TypeMethodDescriptionstatic ResourceConfigLoadresource configfrom givenservlet context.Methods in org.glassfish.jersey.servlet.internal with parameters of type ResourceConfigModifier and TypeMethodDescriptionstatic voidUtils.store(ResourceConfig config, jakarta.servlet.ServletContext context, String configName) Storeresource configas an attribute of givenservlet context. -
Uses of ResourceConfig in org.glassfish.jersey.servlet.internal.spi
Methods in org.glassfish.jersey.servlet.internal.spi with parameters of type ResourceConfigModifier and TypeMethodDescriptionvoidNoOpServletContainerProvider.configure(ResourceConfig resourceConfig) voidServletContainerProvider.configure(ResourceConfig resourceConfig) This method is called for eachServletContainerinstance initialization, i.e. duringWebComponentinitialization. -
Uses of ResourceConfig in org.glassfish.jersey.simple
Methods in org.glassfish.jersey.simple that return ResourceConfigMethods in org.glassfish.jersey.simple with parameters of type ResourceConfigModifier and TypeMethodDescriptionstatic SimpleServerSimpleContainerFactory.create(URI address, SSLContext context, ResourceConfig config) Create aCloseablethat registers anContainerthat in turn manages all root resource and provider classes declared by the resource configuration.static SimpleServerSimpleContainerFactory.create(URI address, SSLContext context, ResourceConfig config, int count, int select) Create aCloseablethat registers anContainerthat in turn manages all root resource and provider classes declared by the resource configuration.static SimpleServerSimpleContainerFactory.create(URI address, SSLContext context, ResourceConfig config, Object parentContext, int count, int select) Create aCloseablethat registers anContainerthat in turn manages all root resource and provider classes declared by the resource configuration.static SimpleServerSimpleContainerFactory.create(URI address, ResourceConfig config) Create aCloseablethat registers anContainerthat in turn manages all root resource and provider classes declared by the resource configuration.static SimpleServerSimpleContainerFactory.create(URI address, ResourceConfig config, int count, int select) Create aCloseablethat registers anContainerthat in turn manages all root resource and provider classes declared by the resource configuration.voidSimpleContainer.reload(ResourceConfig configuration)