Package ch.tocco.nice2.rest.core.impl
Class Nice2ResourceConfig
java.lang.Object
jakarta.ws.rs.core.Application
org.glassfish.jersey.server.ResourceConfig
ch.tocco.nice2.rest.core.impl.Nice2ResourceConfig
- All Implemented Interfaces:
jakarta.ws.rs.core.Configurable<org.glassfish.jersey.server.ResourceConfig>
,jakarta.ws.rs.core.Configuration
,org.glassfish.jersey.ExtendedConfig
,org.glassfish.jersey.server.ServerConfig
@Component
public class Nice2ResourceConfig
extends org.glassfish.jersey.server.ResourceConfig
Resource config for Nice2 REST resources.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setContainerRequestFilters
(List<jakarta.ws.rs.container.ContainerRequestFilter> containerRequestFilters) void
setContainerResponseFilters
(List<jakarta.ws.rs.container.ContainerResponseFilter> containerResponseFilters) void
setInterceptors
(List<ResourceMethodInvocationInterceptor> interceptors) void
setJsonSerializers
(List<JsonSerializerContribution<?>> jsonSerializers) void
setResources
(Collection<ResourceContribution> resources) 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, register, registerClasses, registerClasses, registerFinder, registerInstances, registerInstances, registerResources, registerResources, setApplicationName, setClassLoader, setProperties
-
Constructor Details
-
Nice2ResourceConfig
-
-
Method Details
-
setInterceptors
-
setResources
-
setContainerResponseFilters
@Autowired public void setContainerResponseFilters(List<jakarta.ws.rs.container.ContainerResponseFilter> containerResponseFilters) -
setContainerRequestFilters
@Autowired public void setContainerRequestFilters(List<jakarta.ws.rs.container.ContainerRequestFilter> containerRequestFilters) -
setJsonSerializers
-
createConfig
@PostConstruct public void createConfig()
-