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 Details

  • Method Details

    • setInterceptors

      @Autowired public void setInterceptors(List<ResourceMethodInvocationInterceptor> interceptors)
    • setResources

      public void setResources(Collection<ResourceContribution> resources)
    • 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

      @Autowired public void setJsonSerializers(List<JsonSerializerContribution<?>> jsonSerializers)
    • createConfig

      @PostConstruct public void createConfig()