Class JettyAnnotatedEventDriver
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.websocket.common.events.AbstractEventDriver
-
- org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver
-
- All Implemented Interfaces:
LifeCycle
,IncomingFrames
,EventDriver
@Deprecated(since="2021-05-27") public class JettyAnnotatedEventDriver extends AbstractEventDriver
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Handler for Annotated User WebSocket objects.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Constructor Summary
Constructors Constructor Description JettyAnnotatedEventDriver(WebSocketPolicy policy, java.lang.Object websocket, JettyAnnotatedMetadata events)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BatchMode
getBatchMode()
Deprecated.void
onBinaryFrame(java.nio.ByteBuffer buffer, boolean fin)
Deprecated.void
onBinaryMessage(byte[] data)
Deprecated.void
onClose(CloseInfo close)
Deprecated.void
onConnect()
Deprecated.void
onError(java.lang.Throwable cause)
Deprecated.void
onFrame(Frame frame)
Deprecated.void
onInputStream(java.io.InputStream stream)
Deprecated.void
onReader(java.io.Reader reader)
Deprecated.void
onTextFrame(java.nio.ByteBuffer buffer, boolean fin)
Deprecated.void
onTextMessage(java.lang.String message)
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class org.eclipse.jetty.websocket.common.events.AbstractEventDriver
getPolicy, getSession, incomingFrame, onContinuationFrame, onPing, onPong, openSession
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
-
-
-
-
Constructor Detail
-
JettyAnnotatedEventDriver
public JettyAnnotatedEventDriver(WebSocketPolicy policy, java.lang.Object websocket, JettyAnnotatedMetadata events)
Deprecated.
-
-
Method Detail
-
getBatchMode
public BatchMode getBatchMode()
Deprecated.- Specified by:
getBatchMode
in interfaceEventDriver
- Overrides:
getBatchMode
in classAbstractEventDriver
-
onBinaryFrame
public void onBinaryFrame(java.nio.ByteBuffer buffer, boolean fin) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
onBinaryMessage
public void onBinaryMessage(byte[] data)
Deprecated.
-
onClose
public void onClose(CloseInfo close)
Deprecated.
-
onConnect
public void onConnect()
Deprecated.
-
onError
public void onError(java.lang.Throwable cause)
Deprecated.
-
onFrame
public void onFrame(Frame frame)
Deprecated.
-
onInputStream
public void onInputStream(java.io.InputStream stream)
Deprecated.
-
onReader
public void onReader(java.io.Reader reader)
Deprecated.
-
onTextFrame
public void onTextFrame(java.nio.ByteBuffer buffer, boolean fin) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
onTextMessage
public void onTextMessage(java.lang.String message)
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classAbstractLifeCycle
-
-