Add auto-configuration for Jetty 9's WebSocket support

Closes gh-1269
This commit is contained in:
Andy Wilkinson
2014-11-19 14:40:05 +00:00
parent 0757d24d91
commit 90af8bf54a
35 changed files with 2133 additions and 65 deletions

View File

@@ -381,7 +381,7 @@ capabilities of the service using the `--list` flag
actuator - Actuator: Production ready features to help you monitor and manage your application
...
web - Web: Support for full-stack web development, including Tomcat and spring-webmvc
websocket - Websocket: Support for websocket development with Tomcat
websocket - Websocket: Support for WebSocket development
ws - WS: Support for Spring Web Services
Available project types:

View File

@@ -2550,6 +2550,18 @@ result of a {spring-reference}/#expressions[SpEL expression].
[[boot-features-websockets]]
== WebSockets
Spring Boot provides WebSockets auto-configuration for embedded Tomcat (7 and 8) and
embedded Jetty 9. If you're deploying a war file to a standalone container, Spring Boot
assumes that the container will be responsible for the configuration of its WebSocket
support.
Spring Framework provides {spring-reference}/#websocket[rich WebSocket support] that can
be easily accessed via the `spring-boot-starter-websocket` module.
[[boot-features-whats-next]]
== What to read next
If you want to learn more about any of the classes discussed in this section you can

View File

@@ -310,7 +310,7 @@ and Hibernate.
|Support for full-stack web development, including Tomcat and `spring-webmvc`.
|`spring-boot-starter-websocket`
|Support for websocket development with Tomcat.
|Support for WebSocket development.
|`spring-boot-starter-ws`
|Support for Spring Web Services