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 BatchModegetBatchMode()Deprecated.voidonBinaryFrame(java.nio.ByteBuffer buffer, boolean fin)Deprecated.voidonBinaryMessage(byte[] data)Deprecated.voidonClose(CloseInfo close)Deprecated.voidonConnect()Deprecated.voidonError(java.lang.Throwable cause)Deprecated.voidonFrame(Frame frame)Deprecated.voidonInputStream(java.io.InputStream stream)Deprecated.voidonReader(java.io.Reader reader)Deprecated.voidonTextFrame(java.nio.ByteBuffer buffer, boolean fin)Deprecated.voidonTextMessage(java.lang.String message)Deprecated.java.lang.StringtoString()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:
 getBatchModein interfaceEventDriver- Overrides:
 getBatchModein classAbstractEventDriver
 
- 
onBinaryFrame
public void onBinaryFrame(java.nio.ByteBuffer buffer, boolean fin) throws java.io.IOExceptionDeprecated.- 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.IOExceptionDeprecated.- Throws:
 java.io.IOException
 
- 
onTextMessage
public void onTextMessage(java.lang.String message)
Deprecated. 
- 
toString
public java.lang.String toString()
Deprecated.- Overrides:
 toStringin classAbstractLifeCycle
 
 - 
 
 -