MyEndpoint is a WebSocket endpoint. It can be ... A listener based WebSocket that implements one (or more) of the following listeners. org.eclipse.jetty.websocket.api.WebSocketConnectionListener <http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/websocket/api/WebSocketConnectionListener.html> org.eclipse.jetty.websocket.api.WebSocketFrameListener <http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/websocket/api/WebSocketFrameListener.html> org.eclipse.jetty.websocket.api.WebSocketListener <http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/websocket/api/WebSocketListener.html> org.eclipse.jetty.websocket.api.WebSocketPartialListener <http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/websocket/api/WebSocketPartialListener.html> org.eclipse.jetty.websocket.api.WebSocketPingPongListener <http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/websocket/api/WebSocketPingPongListener.html>
Note: this includes extending from org.eclipse.jetty.websocket.api.WebSocketAdapter <http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/websocket/api/WebSocketAdapter.html> as that extends from WebSocketListener already. or a WebSocket using the Jetty native @WebSocket annotations org.eclipse.jetty.websocket.api.annotations.* <http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/websocket/api/annotations/package-summary.html> Joakim Erdfelt / joa...@webtide.com On Thu, Jul 13, 2017 at 11:44 AM, Alexander Farber < alexander.far...@gmail.com> wrote: > Hi Joachim, > > thank you, but what is MyEndpoint in your example? > > Is it a typo and do you mean MyListener here? > > I have added a custom WebSocketCreator to my project > > https://github.com/afarber/jetty-newbie/tree/master/ > FcmAppContext/src/main/java/de/afarber/fcmappcontext > > but still don't understand, what to return by its createWebSocket method? > > Regards > Alex > > _______________________________________________ > jetty-users mailing list > jetty-users@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users >
_______________________________________________ jetty-users mailing list jetty-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users