mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Upgrade sample to Atmosphere 2.4.14
Closes gh-10447
This commit is contained in:
parent
ce8b59fc7d
commit
9dbc3e25bb
@ -32,12 +32,12 @@
|
||||
<dependency>
|
||||
<groupId>org.atmosphere</groupId>
|
||||
<artifactId>atmosphere-runtime</artifactId>
|
||||
<version>2.2.4</version>
|
||||
<version>2.4.14</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.webjars</groupId>
|
||||
<artifactId>atmosphere-javascript</artifactId>
|
||||
<version>2.2.3</version>
|
||||
<version>2.3.4</version>
|
||||
</dependency>
|
||||
<!-- Test -->
|
||||
<dependency>
|
||||
|
@ -21,8 +21,8 @@ import java.util.Collections;
|
||||
import javax.servlet.ServletContext;
|
||||
import javax.servlet.ServletException;
|
||||
|
||||
import org.atmosphere.cpr.AtmosphereInitializer;
|
||||
import org.atmosphere.cpr.AtmosphereServlet;
|
||||
import org.atmosphere.cpr.ContainerInitializer;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.SpringBootConfiguration;
|
||||
@ -69,7 +69,7 @@ public class SampleAtmosphereApplication {
|
||||
|
||||
}
|
||||
|
||||
private static class EmbeddedAtmosphereInitializer extends AtmosphereInitializer
|
||||
private static class EmbeddedAtmosphereInitializer extends ContainerInitializer
|
||||
implements ServletContextInitializer {
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user