minor cleanup
This commit is contained in:
parent
b92af1b149
commit
16da0e5a0b
@ -8,9 +8,10 @@ import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry
|
|||||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||||
import org.springframework.web.servlet.view.InternalResourceViewResolver;
|
import org.springframework.web.servlet.view.InternalResourceViewResolver;
|
||||||
|
|
||||||
|
// needs HTTP 2 https://github.com/spring-projects/spring-framework/wiki/HTTP-2-support
|
||||||
@Configuration
|
@Configuration
|
||||||
@EnableWebMvc
|
@EnableWebMvc
|
||||||
@ComponentScan(basePackages = "com.baeldung.spring.controller.push")
|
@ComponentScan(basePackages = "com.baeldung.spring.push.controller")
|
||||||
public class PushConfiguration implements WebMvcConfigurer {
|
public class PushConfiguration implements WebMvcConfigurer {
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.baeldung.spring.controller.push;
|
package com.baeldung.spring.push.controller;
|
||||||
|
|
||||||
import javax.servlet.http.PushBuilder;
|
import javax.servlet.http.PushBuilder;
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user