public interface ReadHandler
An implementation of this interface is created by tyrus runtime. Once a
transport completes a successful upgrade for a connection, the transport
can get hold of the handler using Connection.getReadHandler().
| Modifier and Type | Method and Description |
|---|---|
void |
handle(java.nio.ByteBuffer data)
A transport reads websocket data and invokes this method to handover
websocket data for a connection to tyrus runtime.
|
void handle(java.nio.ByteBuffer data)
data - websocket data of a connection.Copyright © 2012–2025 Oracle Corporation. All rights reserved.