Class JerseyAutoConfiguration
java.lang.Object
org.springframework.boot.jersey.autoconfigure.JerseyAutoConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.web.context.ServletContextAware
@AutoConfiguration(afterName="org.springframework.boot.jackson2.autoconfigure.Jackson2AutoConfiguration")
@ConditionalOnClass({org.glassfish.jersey.server.spring.SpringComponentProvider.class,jakarta.servlet.ServletRegistration.class})
@ConditionalOnBean(type="org.glassfish.jersey.server.ResourceConfig")
@ConditionalOnWebApplication(type=SERVLET)
@AutoConfigureOrder(-2147483648)
@EnableConfigurationProperties(JerseyProperties.class)
public final class JerseyAutoConfiguration
extends Object
implements org.springframework.web.context.ServletContextAware
Auto-configuration for Jersey.- Since:
- 4.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Method Summary
Modifier and TypeMethodDescriptionvoidsetServletContext(jakarta.servlet.ServletContext servletContext)
-
Method Details
-
setServletContext
public void setServletContext(jakarta.servlet.ServletContext servletContext) - Specified by:
setServletContextin interfaceorg.springframework.web.context.ServletContextAware
-