Search in sources :

Example 1 with Hybi07Handshake

use of io.undertow.websockets.core.protocol.version07.Hybi07Handshake in project undertow by undertow-io.

the class WebSocketServlet method handshakes.

protected List<Handshake> handshakes() {
    List<Handshake> handshakes = new ArrayList<>();
    handshakes.add(new Hybi13Handshake());
    handshakes.add(new Hybi08Handshake());
    handshakes.add(new Hybi07Handshake());
    return handshakes;
}
Also used : Hybi13Handshake(io.undertow.websockets.core.protocol.version13.Hybi13Handshake) ArrayList(java.util.ArrayList) Hybi07Handshake(io.undertow.websockets.core.protocol.version07.Hybi07Handshake) Hybi08Handshake(io.undertow.websockets.core.protocol.version08.Hybi08Handshake) Hybi07Handshake(io.undertow.websockets.core.protocol.version07.Hybi07Handshake) Hybi13Handshake(io.undertow.websockets.core.protocol.version13.Hybi13Handshake) Handshake(io.undertow.websockets.core.protocol.Handshake) Hybi08Handshake(io.undertow.websockets.core.protocol.version08.Hybi08Handshake)

Aggregations

Handshake (io.undertow.websockets.core.protocol.Handshake)1 Hybi07Handshake (io.undertow.websockets.core.protocol.version07.Hybi07Handshake)1 Hybi08Handshake (io.undertow.websockets.core.protocol.version08.Hybi08Handshake)1 Hybi13Handshake (io.undertow.websockets.core.protocol.version13.Hybi13Handshake)1 ArrayList (java.util.ArrayList)1