|
|
|
@ -56,7 +56,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplicat
|
|
|
|
|
import org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration;
|
|
|
|
|
import org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration;
|
|
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
|
|
|
import org.springframework.boot.web.servlet.DynaimcRegistrationBean;
|
|
|
|
|
import org.springframework.boot.web.servlet.DynamicRegistrationBean;
|
|
|
|
|
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
|
|
|
|
import org.springframework.boot.web.servlet.ServletRegistrationBean;
|
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
@ -181,7 +181,7 @@ public class JerseyAutoConfiguration implements ServletContextAware {
|
|
|
|
|
return ClassUtils.getUserClass(this.config.getClass()).getName();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void addInitParameters(DynaimcRegistrationBean<?> registration) {
|
|
|
|
|
private void addInitParameters(DynamicRegistrationBean<?> registration) {
|
|
|
|
|
for (Entry<String, String> entry : this.jersey.getInit().entrySet()) {
|
|
|
|
|
registration.addInitParameter(entry.getKey(), entry.getValue());
|
|
|
|
|
}
|
|
|
|
|