Class WebSocketClientConnection
- java.lang.Object
-
- org.eclipse.jetty.io.AbstractConnection
-
- org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection
-
- org.eclipse.jetty.websocket.client.io.WebSocketClientConnection
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,Connection
,Connection.UpgradeTo
,Dumpable
,OutgoingFrames
,SuspendToken
,LogicalConnection
@Deprecated(since="2021-05-27") public class WebSocketClientConnection extends AbstractWebSocketConnection
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Client side WebSocket physical connection.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection
AbstractWebSocketConnection.Stats
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
-
Constructor Summary
Constructors Constructor Description WebSocketClientConnection(EndPoint endp, java.util.concurrent.Executor executor, Scheduler scheduler, WebSocketPolicy websocketPolicy, ByteBufferPool bufferPool)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
outgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
Deprecated.Override to set the masker.-
Methods inherited from class org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection
canReadWebSocketFrames, canWriteWebSocketFrames, close, close, close, disconnect, dump, dumpSelf, fillInterested, getBufferPool, getBytesIn, getBytesOut, getExecutor, getExtensions, getGenerator, getId, getIdleTimeout, getLocalAddress, getMaxIdleTimeout, getMessagesIn, getMessagesOut, getParser, getPolicy, getRemoteAddress, getScheduler, getStats, isOpen, isReading, onFillable, onIdleExpired, onUpgradeTo, opened, opening, remoteClose, resume, setExtensions, setInputBufferSize, setMaxIdleTimeout, setNextIncomingFrames, setSession, suspend, toConnectionString, toStateString
-
Methods inherited from class org.eclipse.jetty.io.AbstractConnection
addListener, getCreatedTimeStamp, getEndPoint, getInputBufferSize, isFillInterested, onClose, onOpen, removeListener, toString, tryFillInterested, tryFillInterested
-
-
-
-
Constructor Detail
-
WebSocketClientConnection
public WebSocketClientConnection(EndPoint endp, java.util.concurrent.Executor executor, Scheduler scheduler, WebSocketPolicy websocketPolicy, ByteBufferPool bufferPool)
Deprecated.
-
-
Method Detail
-
outgoingFrame
public void outgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
Deprecated.Override to set the masker.- Specified by:
outgoingFrame
in interfaceOutgoingFrames
- Overrides:
outgoingFrame
in classAbstractWebSocketConnection
- Parameters:
frame
- the frame to eventually write to the network layer.callback
- the callback to notify when the frame is written.batchMode
- the batch mode requested by the sender.
-
-