Package | Description |
---|---|
org.glassfish.jersey.grizzly2.httpserver |
Jersey Grizzly 3.x container classes.
|
org.glassfish.jersey.jdkhttp |
The container adapter between
JDK HTTP server
and Jersey Jersey application handler
classes. |
org.glassfish.jersey.server |
Jersey server-side classes.
|
org.glassfish.jersey.server.filter |
Provides core server filters.
|
org.glassfish.jersey.server.monitoring |
Jersey server-side monitoring JMX MBeans interfaces.
|
org.glassfish.jersey.server.spi |
Jersey server-side service provider contract (SPI) classes.
|
org.glassfish.jersey.servlet |
Jersey generic Servlet container integration classes.
|
org.glassfish.jersey.servlet.internal |
Jersey internal Servlet API.
|
org.glassfish.jersey.simple |
Jersey Simple 6.x container classes.
|
Modifier and Type | Method and Description |
---|---|
ResourceConfig |
GrizzlyHttpContainer.getConfiguration() |
Modifier and Type | Method and Description |
---|---|
static org.glassfish.grizzly.http.server.HttpServer |
GrizzlyHttpServerFactory.createHttpServer(URI uri,
ResourceConfig configuration)
Create new
HttpServer instance. |
static org.glassfish.grizzly.http.server.HttpServer |
GrizzlyHttpServerFactory.createHttpServer(URI uri,
ResourceConfig configuration,
boolean start)
Create new
HttpServer instance. |
static org.glassfish.grizzly.http.server.HttpServer |
GrizzlyHttpServerFactory.createHttpServer(URI uri,
ResourceConfig configuration,
boolean secure,
org.glassfish.grizzly.ssl.SSLEngineConfigurator sslEngineConfigurator)
Create new
HttpServer 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 new
HttpServer 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 new
HttpServer 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 new
HttpServer instance. |
static org.glassfish.grizzly.http.server.HttpServer |
GrizzlyHttpServerFactory.createHttpServer(URI uri,
ResourceConfig config,
Object parentContext)
Create new
HttpServer instance. |
static org.glassfish.grizzly.http.server.HttpServer |
GrizzlyHttpServerFactory.createHttpServer(URI uri,
ResourceConfig config,
Object parentContext,
boolean start)
Create new
HttpServer instance. |
void |
GrizzlyHttpContainer.reload(ResourceConfig configuration) |
Modifier and Type | Method and Description |
---|---|
ResourceConfig |
JdkHttpHandlerContainer.getConfiguration() |
Modifier and Type | Method and Description |
---|---|
static com.sun.net.httpserver.HttpServer |
JdkHttpServerFactory.createHttpServer(URI uri,
ResourceConfig configuration)
Create and start the
JDK HttpServer with the Jersey application deployed
at the given URI . |
static com.sun.net.httpserver.HttpServer |
JdkHttpServerFactory.createHttpServer(URI uri,
ResourceConfig configuration,
boolean start)
Create (and possibly start) the
JDK HttpServer with the JAX-RS / Jersey application deployed
on the given URI . |
static com.sun.net.httpserver.HttpServer |
JdkHttpServerFactory.createHttpServer(URI uri,
ResourceConfig configuration,
Object parentContext)
Create (and possibly start) the
JDK HttpServer with the JAX-RS / Jersey application deployed
on the given URI . |
static com.sun.net.httpserver.HttpServer |
JdkHttpServerFactory.createHttpServer(URI uri,
ResourceConfig configuration,
Object parentContext,
SSLContext sslContext,
boolean start)
Create (and possibly start) the
JDK HttpServer , eventually HttpServer 's subclass
HttpsServer with the JAX-RS / Jersey application deployed on the given URI . |
static com.sun.net.httpserver.HttpServer |
JdkHttpServerFactory.createHttpServer(URI uri,
ResourceConfig configuration,
SSLContext sslContext)
Create and start the
JDK HttpServer , eventually HttpServer 's subclass
JDK HttpsServer with the JAX-RS / Jersey application deployed on the given URI . |
static com.sun.net.httpserver.HttpServer |
JdkHttpServerFactory.createHttpServer(URI uri,
ResourceConfig configuration,
SSLContext sslContext,
boolean start)
Create (and possibly start) the
JDK HttpServer , eventually HttpServer 's subclass
JDK HttpsServer with the JAX-RS / Jersey application deployed on the given URI . |
void |
JdkHttpHandlerContainer.reload(ResourceConfig configuration) |
Modifier and Type | Method and Description |
---|---|
ResourceConfig |
ResourceConfig.addProperties(Map<String,Object> properties)
Add properties to
ResourceConfig . |
ResourceConfig |
ResourceConfig.files(boolean recursive,
String... files)
Adds array of file and directory names to scan for components.
|
ResourceConfig |
ResourceConfig.files(String... files)
Adds array of file and directory names to scan for components.
|
static ResourceConfig |
ResourceConfig.forApplication(Application application)
Returns a
ResourceConfig instance for the supplied application. |
static ResourceConfig |
ResourceConfig.forApplicationClass(Class<? extends Application> applicationClass)
Returns a
ResourceConfig instance wrapping the application of the supplied class. |
static ResourceConfig |
ResourceConfig.forApplicationClass(Class<? extends Application> applicationClass,
Set<Class<?>> defaultClasses)
Returns a
ResourceConfig instance wrapping the application of the supplied class. |
ResourceConfig |
ApplicationHandler.getConfiguration()
Get the application configuration.
|
ResourceConfig |
ServerBootstrapBag.getRuntimeConfig() |
ResourceConfig |
ResourceConfig.packages(boolean recursive,
ClassLoader classLoader,
String... packages)
Adds array of package names which will be used to scan for components.
|
ResourceConfig |
ResourceConfig.packages(boolean recursive,
String... packages)
Adds array of package names which will be used to scan for components.
|
ResourceConfig |
ResourceConfig.packages(String... packages)
Adds array of package names which will be used to scan for components.
|
ResourceConfig |
ResourceConfig.property(String name,
Object value) |
ResourceConfig |
ResourceConfig.register(Class<?> componentClass) |
ResourceConfig |
ResourceConfig.register(Class<?> componentClass,
Class<?>... contracts) |
ResourceConfig |
ResourceConfig.register(Class<?> componentClass,
int bindingPriority) |
ResourceConfig |
ResourceConfig.register(Class<?> componentClass,
Map<Class<?>,Integer> contracts) |
ResourceConfig |
ResourceConfig.register(Object component) |
ResourceConfig |
ResourceConfig.register(Object component,
Class<?>... contracts) |
ResourceConfig |
ResourceConfig.register(Object component,
int bindingPriority) |
ResourceConfig |
ResourceConfig.register(Object component,
Map<Class<?>,Integer> contracts) |
ResourceConfig |
ResourceConfig.registerClasses(Class<?>... classes)
Register annotated JAX-RS resource, JAX-RS or Jersey contract provider or JAX-RS feature
in the
ResourceConfig . |
ResourceConfig |
ResourceConfig.registerClasses(Set<Class<?>> classes)
Register annotated JAX-RS resource, JAX-RS or Jersey contract provider or JAX-RS feature
in the
ResourceConfig . |
ResourceConfig |
ResourceConfig.registerFinder(ResourceFinder resourceFinder)
Add a
ResourceFinder to ResourceConfig . |
ResourceConfig |
ResourceConfig.registerInstances(Object... instances)
Register annotated JAX-RS resource, JAX-RS or Jersey contract provider, JAX-RS feature,
Jersey Binder instances (singletons) in the ResourceConfig . |
ResourceConfig |
ResourceConfig.registerInstances(Set<Object> instances)
Register annotated JAX-RS resource, JAX-RS or Jersey contract provider, JAX-RS feature
Jersey Binder instances (singletons) in the ResourceConfig . |
ResourceConfig |
ResourceConfig.registerResources(Resource... resources)
Register new programmatic resource models in the
ResourceConfig . |
ResourceConfig |
ResourceConfig.registerResources(Set<Resource> resources)
Register new resource models in the
ResourceConfig . |
ResourceConfig |
ResourceConfig.setApplicationName(String applicationName)
Set the name of the application.
|
ResourceConfig |
ResourceConfig.setClassLoader(ClassLoader classLoader)
Set
ClassLoader which will be used for resource discovery. |
ResourceConfig |
ResourceConfig.setProperties(Map<String,?> properties)
Set new configuration properties replacing all previously set properties.
|
Constructor and Description |
---|
ResourceConfig(ResourceConfig original)
Create a defensive resource configuration copy initialized with a given
ResourceConfig . |
Modifier and Type | Method and Description |
---|---|
static void |
EncodingFilter.enableFor(ResourceConfig rc,
Class<? extends ContentEncoder>... encoders)
Enables this filter along with the provided
encoders
for the supplied ResourceConfig . |
static void |
HttpMethodOverrideFilter.enableFor(ResourceConfig rc,
HttpMethodOverrideFilter.Source... sources)
Registers this filter into the passed
ResourceConfig instance and
configures it. |
Modifier and Type | Method and Description |
---|---|
ResourceConfig |
ApplicationEvent.getResourceConfig()
Get resource config associated with the application.
|
ResourceConfig |
ApplicationInfo.getResourceConfig()
Get the resource config.
|
Modifier and Type | Method and Description |
---|---|
ResourceConfig |
Container.getConfiguration()
Return an immutable representation of the current
configuration . |
Modifier and Type | Method and Description |
---|---|
void |
Container.reload(ResourceConfig configuration)
Reload the hosted Jersey application using a new
configuration . |
Modifier and Type | Method and Description |
---|---|
ResourceConfig |
ServletContainer.getConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
ServletContainer.reload(ResourceConfig configuration) |
Constructor and Description |
---|
ServletContainer(ResourceConfig resourceConfig)
Create Jersey Servlet container.
|
WebComponent(WebConfig webConfig,
ResourceConfig resourceConfig)
Create and initialize new web component instance.
|
Modifier and Type | Method and Description |
---|---|
static ResourceConfig |
Utils.retrieve(jakarta.servlet.ServletContext context,
String configName)
Load
resource config from given
servlet context . |
Modifier and Type | Method and Description |
---|---|
static void |
Utils.store(ResourceConfig config,
jakarta.servlet.ServletContext context,
String configName)
Store
resource config as an attribute of given
servlet context . |
Modifier and Type | Method and Description |
---|---|
ResourceConfig |
SimpleContainer.getConfiguration() |
Modifier and Type | Method and Description |
---|---|
static SimpleServer |
SimpleContainerFactory.create(URI address,
ResourceConfig config)
Create a
Closeable that registers an Container 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 a
Closeable that registers an Container 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)
Create a
Closeable that registers an Container 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 a
Closeable that registers an Container 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 a
Closeable that registers an Container that in turn manages all root
resource and provider classes declared by the resource configuration. |
void |
SimpleContainer.reload(ResourceConfig configuration) |
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.