Permalink
Browse files

Merge pull request #1934 from kylec32:websocket-documentation-remove-…

…deprecated

* pr/1934:
  Fix usage of deprecated functionality in docs
  • Loading branch information...
snicoll committed Aug 20, 2018
2 parents a8fbac8 + 8848e6a commit 89e2caa4f3a823f2e704a3d59209ba1fa324f7ae
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/docs/asciidoc/web/websocket.adoc
@@ -1804,7 +1804,7 @@ user and associate it with subsequent STOMP messages on the same session:
@Override
public void configureClientInboundChannel(ChannelRegistration registration) {
registration.setInterceptors(new ChannelInterceptorAdapter() {
registration.interceptors(new ChannelInterceptor() {
@Override
public Message<?> preSend(Message<?> message, MessageChannel channel) {
StompHeaderAccessor accessor =
@@ -2063,7 +2063,7 @@ For example to intercept inbound messages from clients:
@Override
public void configureClientInboundChannel(ChannelRegistration registration) {
registration.setInterceptors(new MyChannelInterceptor());
registration.interceptors(new MyChannelInterceptor());
}
}
----

0 comments on commit 89e2caa

Please sign in to comment.