| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | WsRemoteEndpointImplBase.
Wraps the user provided handler so that the end point is notified when the message is complete. |
| private static class | WsRemoteEndpointImplBase.
If a transformation needs to split a |
| private static class | WsRemoteEndpointImplBase.
Ensures that the output buffer is cleared after it has been flushed. |
| private static class | WsRemoteEndpointImplBase.
Used to write data to the output buffer, flushing the buffer if it fills up. |
| private static enum | |
| private static class | |
| private static class | |
| private class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicBoolean | |
| private volatile boolean | |
| private final CharsetEncoder | |
| private final ByteBuffer | |
| private List | |
| private boolean | |
| private final ByteBuffer | |
| private final WsRemoteEndpointImplBase. | |
| private final Log | |
| protected final Semaphore | |
| private final Object | |
| private final Queue | |
| private boolean | |
| private boolean | |
| private final ByteBuffer | |
| protected static final SendResult | |
| private volatile long | |
| protected static final StringManager | |
| private final WsRemoteEndpointImplBase. | |
| private boolean | |
| private Transformation | |
| private WsSession |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | Returns: true if the semaphore is obtained, otherwise false.The OPCODE for the message to be written opCode, long The time when the attempt to acquire the semaphore should expire timeoutExpiry)Acquire the semaphore that allows a message part to be written. |
| public final void | |
| protected abstract void | |
| protected abstract void | |
| pack-priv void | |
| private Encoder | |
| public void | flushBatch()
Implements jakarta. Flush any currently batched messages to the remote endpoint. |
| public boolean | getBatchingAllowed()
Implements jakarta. Obtains the current batching status of the endpoint. |
| private long | |
| protected abstract Lock | |
| public OutputStream | |
| public long | |
| public Writer | |
| private long | |
| protected abstract boolean | |
| public void | |
| public void | |
| public Future | |
| pack-priv void | |
| pack-priv void | |
| private void | |
| public void | |
| public void | |
| public Future | |
| public void | |
| public void | |
| public void | sendPing(ByteBuffer
The payload for the ping message applicationData)Implements jakarta. Send a ping message blocking until the message has been sent. |
| public void | sendPong(ByteBuffer
The payload for the pong message applicationData)Implements jakarta. Send a pong message blocking until the message has been sent. |
| public void | |
| public void | |
| public Future | |
| public void | setBatchingAllowed(boolean
New setting batchingAllowed)Implements jakarta. Enable or disable the batching of outgoing messages for this endpoint. |
| protected void | |
| public void | |
| protected void | |
| protected void | |
| pack-priv void | |
| protected void | |
| private static void | writeHeader(ByteBuffer headerBuffer, boolean fin, int rsv, byte opCode, boolean masked, ByteBuffer payload, byte[] mask, boolean first)
|
| pack-priv void |