src/java.net.http/share/classes/java/net/http/WebSocket.java
branchhttp-client-branch
changeset 56747 d7954a135b1e
parent 56728 bd76f0daf3c2
child 56795 03ece2518428
equal deleted inserted replaced
56745:b75307ee399a 56747:d7954a135b1e
    35 /**
    35 /**
    36  * A WebSocket Client.
    36  * A WebSocket Client.
    37  *
    37  *
    38  * <p> {@code WebSocket} instances are created through {@link WebSocket.Builder}.
    38  * <p> {@code WebSocket} instances are created through {@link WebSocket.Builder}.
    39  *
    39  *
    40  * <p> WebSocket has an input and an output sides. These sides are independent
    40  * <p> WebSocket has an input and an output side. These sides are independent
    41  * from each other. A side can either be open or closed. Once closed, the side
    41  * from each other. A side can either be open or closed. Once closed, the side
    42  * remains closed. WebSocket messages are sent through a {@code WebSocket} and
    42  * remains closed. WebSocket messages are sent through a {@code WebSocket} and
    43  * received through a {@code WebSocket.Listener} associated with it. Messages
    43  * received through a {@code WebSocket.Listener} associated with it. Messages
    44  * can be sent until the WebSocket's output is closed, and received until the
    44  * can be sent until the WebSocket's output is closed, and received until the
    45  * WebSocket's input is closed.
    45  * WebSocket's input is closed.