| Package | Description | 
|---|---|
| org.glassfish.tyrus.core | Core classes. | 
| org.glassfish.tyrus.spi | Tyrus SPI. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ProtocolHandler. send(byte[] data,
    SendHandler handler,
    WriterInfo writerInfo) | 
| java.util.concurrent.Future<Frame> | ProtocolHandler. send(byte[] data,
    WriterInfo writerInfo) | 
| void | ProtocolHandler. send(java.lang.String data,
    SendHandler handler,
    WriterInfo writerInfo) | 
| java.util.concurrent.Future<Frame> | ProtocolHandler. send(java.lang.String data,
    WriterInfo writerInfo) | 
| java.util.concurrent.Future<Frame> | TyrusWebSocket. sendBinary(byte[] bytes,
          boolean last,
          WriterInfo writerInfo)Sends a fragment of a complete message. | 
| java.util.concurrent.Future<Frame> | TyrusWebSocket. sendBinary(byte[] bytes,
          int off,
          int len,
          boolean last,
          WriterInfo writerInfo)Sends a fragment of a complete message. | 
| void | TyrusWebSocket. sendBinary(byte[] data,
          SendHandler handler,
          WriterInfo writerInfo)Send a binary frame to the remote endpoint. | 
| java.util.concurrent.Future<Frame> | TyrusWebSocket. sendBinary(byte[] data,
          WriterInfo writerInfo)Send a binary frame to the remote endpoint. | 
| java.util.concurrent.Future<Frame> | TyrusWebSocket. sendText(java.lang.String fragment,
        boolean last,
        WriterInfo writerInfo)Sends a fragment of a complete message. | 
| void | TyrusWebSocket. sendText(java.lang.String data,
        SendHandler handler,
        WriterInfo writerInfo)Send a text frame to the remote endpoint. | 
| java.util.concurrent.Future<Frame> | TyrusWebSocket. sendText(java.lang.String data,
        WriterInfo writerInfo)Send a text frame to the remote endpoint. | 
| java.util.concurrent.Future<Frame> | ProtocolHandler. stream(boolean last,
      byte[] bytes,
      int off,
      int len,
      WriterInfo writerInfo) | 
| java.util.concurrent.Future<Frame> | ProtocolHandler. stream(boolean last,
      java.lang.String fragment,
      WriterInfo writerInfo) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Writer. write(java.nio.ByteBuffer buffer,
     CompletionHandler<java.nio.ByteBuffer> completionHandler,
     WriterInfo writerInfo)Tyrus runtime calls this method to handover the data for a connection
 to the transport. | 
Copyright © 2012–2020 Oracle Corporation. All rights reserved.