Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
2fc557a5
Commit
2fc557a5
authored
Aug 31, 2018
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve WebSocket documentation for reactive applications
Closes gh-14069
parent
374cf2c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
pom.xml
spring-boot-project/spring-boot-dependencies/pom.xml
+6
-0
spring-boot-features.adoc
...ing-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+14
-1
No files found.
spring-boot-project/spring-boot-dependencies/pom.xml
View file @
2fc557a5
...
@@ -93,6 +93,7 @@
...
@@ -93,6 +93,7 @@
<javax-persistence.version>
2.2
</javax-persistence.version>
<javax-persistence.version>
2.2
</javax-persistence.version>
<javax-transaction.version>
1.3
</javax-transaction.version>
<javax-transaction.version>
1.3
</javax-transaction.version>
<javax-validation.version>
2.0.1.Final
</javax-validation.version>
<javax-validation.version>
2.0.1.Final
</javax-validation.version>
<javax-websocket.version>
1.1
</javax-websocket.version>
<jaxen.version>
1.1.6
</jaxen.version>
<jaxen.version>
1.1.6
</jaxen.version>
<jaybird.version>
3.0.4
</jaybird.version>
<jaybird.version>
3.0.4
</jaybird.version>
<jboss-logging.version>
3.3.2.Final
</jboss-logging.version>
<jboss-logging.version>
3.3.2.Final
</jboss-logging.version>
...
@@ -1069,6 +1070,11 @@
...
@@ -1069,6 +1070,11 @@
<artifactId>
validation-api
</artifactId>
<artifactId>
validation-api
</artifactId>
<version>
${javax-validation.version}
</version>
<version>
${javax-validation.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
javax.websocket
</groupId>
<artifactId>
javax.websocket-api
</artifactId>
<version>
${javax-websocket.version}
</version>
</dependency>
<dependency>
<dependency>
<groupId>
javax.xml.bind
</groupId>
<groupId>
javax.xml.bind
</groupId>
<artifactId>
jaxb-api
</artifactId>
<artifactId>
jaxb-api
</artifactId>
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
2fc557a5
...
@@ -7709,7 +7709,20 @@ Undertow. If you deploy a war file to a standalone container, Spring Boot assume
...
@@ -7709,7 +7709,20 @@ Undertow. If you deploy a war file to a standalone container, Spring Boot assume
container is responsible for the configuration of its WebSocket support.
container is responsible for the configuration of its WebSocket support.
Spring Framework provides {spring-reference}web.html#websocket[rich WebSocket support]
Spring Framework provides {spring-reference}web.html#websocket[rich WebSocket support]
that can be easily accessed through the `spring-boot-starter-websocket` module.
for MVC web applications that can be easily accessed through the
`spring-boot-starter-websocket` module.
WebSocket support is also available for
{spring-reference}web-reactive.html#webflux-websocket[reactive web applications] and
requires to include the WebSocket API alongside `spring-boot-starter-webflux`:
[source,xml,indent=0,subs="verbatim,quotes,attributes"]
----
<dependency>
<groupId>javax.websocket</groupId>
<artifactId>javax.websocket-api</artifactId>
</dependency>
----
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment