Polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2021 the original author or authors.
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -170,7 +170,6 @@ class JettyHeadersAdapter implements MultiValueMap<String, String> {
|
||||
public Iterator<Entry<String, List<String>>> iterator() {
|
||||
return new EntryIterator();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int size() {
|
||||
return headers.size();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2021 the original author or authors.
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -170,7 +170,6 @@ class JettyHeadersAdapter implements MultiValueMap<String, String> {
|
||||
public Iterator<Entry<String, List<String>>> iterator() {
|
||||
return new EntryIterator();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int size() {
|
||||
return headers.size();
|
||||
|
||||
@@ -42,7 +42,7 @@ import org.springframework.web.reactive.socket.WebSocketSession;
|
||||
|
||||
/**
|
||||
* Base class for {@link WebSocketSession} implementations that bridge between
|
||||
* event-listener WebSocket APIs (e.g. Java WebSocket API JSR-356, Jetty,
|
||||
* event-listener WebSocket APIs (e.g. Java WebSocket API (JSR-356), Jetty,
|
||||
* Undertow) and Reactive Streams.
|
||||
*
|
||||
* <p>Also implements {@code Subscriber<Void>} so it can be used to subscribe to
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2020 the original author or authors.
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -27,14 +27,15 @@ import org.springframework.web.reactive.socket.adapter.StandardWebSocketSession;
|
||||
import org.springframework.web.reactive.socket.adapter.TomcatWebSocketSession;
|
||||
|
||||
/**
|
||||
* {@link WebSocketClient} implementation for use with the Java WebSocket API.
|
||||
* {@link WebSocketClient} implementation for use with Tomcat,
|
||||
* based on the Java WebSocket API.
|
||||
*
|
||||
* @author Violeta Georgieva
|
||||
* @since 5.0
|
||||
* @see StandardWebSocketClient
|
||||
*/
|
||||
public class TomcatWebSocketClient extends StandardWebSocketClient {
|
||||
|
||||
|
||||
public TomcatWebSocketClient() {
|
||||
this(new WsWebSocketContainer());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user