HomeSort by relevance Sort by last modified time
    Searched refs:websocket (Results 1 - 25 of 71) sorted by null

1 2 3

  /external/jetty/src/java/org/eclipse/jetty/websocket/
IdentityExtension.java 19 package org.eclipse.jetty.websocket;
MaskGen.java 19 package org.eclipse.jetty.websocket;
ZeroMaskGen.java 19 package org.eclipse.jetty.websocket;
WebSocketGenerator.java 19 package org.eclipse.jetty.websocket;
WebSocketServletConnectionD06.java 19 package org.eclipse.jetty.websocket;
31 public WebSocketServletConnectionD06(WebSocketFactory factory, WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, long timestamp, int maxIdleTime, String protocol)
34 super(websocket,endpoint,buffers,timestamp,maxIdleTime,protocol);
41 String key = request.getHeader("Sec-WebSocket-Key");
43 response.setHeader("Upgrade","WebSocket");
45 response.addHeader("Sec-WebSocket-Accept",hashKey(key));
48 response.addHeader("Sec-WebSocket-Protocol",subprotocol);
Extension.java 19 package org.eclipse.jetty.websocket;
29 public void bind(WebSocket.FrameConnection connection, WebSocketParser.FrameHandler inbound, WebSocketGenerator outbound);
FixedMaskGen.java 20 package org.eclipse.jetty.websocket;
RandomMaskGen.java 19 package org.eclipse.jetty.websocket;
WebSocketConnection.java 19 package org.eclipse.jetty.websocket;
33 WebSocket.Connection getConnection();
WebSocketParser.java 19 package org.eclipse.jetty.websocket;
27 * Parser the WebSocket protocol.
WebSocketServletConnection.java 19 package org.eclipse.jetty.websocket;
WebSocketServletConnectionD08.java 19 package org.eclipse.jetty.websocket;
32 public WebSocketServletConnectionD08(WebSocketFactory factory, WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, long timestamp, int maxIdleTime, String protocol,
35 super(websocket,endpoint,buffers,timestamp,maxIdleTime,protocol,extensions,draft);
42 String key = request.getHeader("Sec-WebSocket-Key");
44 response.setHeader("Upgrade","WebSocket");
46 response.addHeader("Sec-WebSocket-Accept",hashKey(key));
49 response.addHeader("Sec-WebSocket-Protocol",subprotocol);
54 response.addHeader("Sec-WebSocket-Extensions",ext.getParameterizedName());
WebSocketServletConnectionRFC6455.java 19 package org.eclipse.jetty.websocket;
32 public WebSocketServletConnectionRFC6455(WebSocketFactory factory, WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, long timestamp, int maxIdleTime, String protocol,
35 super(websocket,endpoint,buffers,timestamp,maxIdleTime,protocol,extensions,draft);
42 String key = request.getHeader("Sec-WebSocket-Key");
44 response.setHeader("Upgrade","WebSocket");
46 response.addHeader("Sec-WebSocket-Accept",hashKey(key));
49 response.addHeader("Sec-WebSocket-Protocol",subprotocol);
54 response.addHeader("Sec-WebSocket-Extensions",ext.getParameterizedName());
WebSocketFactory.java 19 package org.eclipse.jetty.websocket;
43 * Factory to create WebSocket connections
55 * {@link WebSocket} object.</p>
57 * @param protocol the websocket sub protocol
58 * @return a new {@link WebSocket} object that will handle websocket events.
60 WebSocket doWebSocketConnect(HttpServletRequest request, String protocol);
64 * <p>Checks the origin of an incoming WebSocket handshake request.</p>
176 * the application calling {@link WebSocket.Connection#setMaxTextMessageSize(int)}.
194 * the application calling {@link WebSocket.Connection#setMaxBinaryMessageSize(int)}
363 WebSocket websocket = null; local
    [all...]
WebSocketServletConnectionD00.java 19 package org.eclipse.jetty.websocket;
33 public WebSocketServletConnectionD00(WebSocketFactory factory, WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, long timestamp, int maxIdleTime, String protocol)
36 super(websocket,endpoint,buffers,timestamp,maxIdleTime,protocol);
51 String origin = request.getHeader("Sec-WebSocket-Origin");
61 String key1 = request.getHeader("Sec-WebSocket-Key1");
65 String key2 = request.getHeader("Sec-WebSocket-Key2");
68 response.setHeader("Upgrade","WebSocket");
72 response.addHeader("Sec-WebSocket-Origin",origin);
74 response.addHeader("Sec-WebSocket-Location",(request.isSecure()?"wss://":"ws://") + host + uri)
    [all...]
WebSocketClient.java 19 package org.eclipse.jetty.websocket;
45 * that can speak the websocket protocol.</p>
46 * <p>When creating websocket connections, {@link WebSocketClient} accepts a {@link WebSocket}
47 * object (to receive events from the server), and returns a {@link WebSocket.Connection} to
57 * WebSocket.Connection connection = client.open(new URI("ws://127.0.0.1:8080/"), new WebSocket.OnTextMessage()
214 * that upgrades to the websocket protocol.</p>
224 * @return The list of websocket protocol extensions
263 * the application calling {@link WebSocket.Connection#setMaxTextMessageSize(int)}
    [all...]
WebSocketBuffers.java 19 package org.eclipse.jetty.websocket;
28 /** The WebSocket Buffer Pool.
WebSocketHandler.java 19 package org.eclipse.jetty.websocket;
  /external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
websocket.py 9 from websocket import create_connection as _create_connection
10 from websocket import WebSocketConnectionClosedException
11 from websocket import WebSocketException
12 from websocket import WebSocketTimeoutException
websocket_unittest.py 12 from telemetry.internal.backends.chrome_inspector import websocket
15 # Minimal handler for a local websocket server.
18 key = self.headers.getheader('Sec-WebSocket-Key')
25 self.send_header('Sec-Websocket-Accept', hashed)
26 self.send_header('upgrade', 'websocket')
35 self.assertNotEqual(websocket.create_connection, None)
36 self.assertNotEqual(websocket.WebSocketException, None)
37 self.assertNotEqual(websocket.WebSocketTimeoutException, None)
44 ws = websocket.create_connection(ws_url)
52 ws = websocket.create_connection
    [all...]
memory_backend.py 11 from telemetry.internal.backends.chrome_inspector import websocket
41 MemoryUnrecoverableException: If there is a websocket error.
59 MemoryUnrecoverableException: If there is a websocket error.
74 except websocket.WebSocketTimeoutException:
78 except (socket.error, websocket.WebSocketException,
inspector_console.py 6 from telemetry.internal.backends.chrome_inspector import websocket
41 except websocket.WebSocketTimeoutException:
  /external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
system_info_backend.py 17 websocket = inspector_websocket.InspectorWebsocket()
20 websocket.Connect('ws://127.0.0.1:%i/devtools/page/%i' %
23 websocket.Connect('ws://127.0.0.1:%i/devtools/browser' % self._port)
24 res = websocket.SyncRequest(req, timeout)
26 websocket.Disconnect()
  /prebuilts/tools/common/m2/repository/org/eclipse/jetty/jetty-websocket/8.1.14.v20131031/
jetty-websocket-8.1.14.v20131031.jar 
  /external/nanohttpd/websocket/src/test/java/fi/iki/elonen/samples/echo/
SimpleEchoSocket.java 5 * NanoHttpd-Websocket
42 import org.eclipse.jetty.websocket.api.Session;
43 import org.eclipse.jetty.websocket.api.StatusCode;
44 import org.eclipse.jetty.websocket.api.annotations.OnWebSocketClose;
45 import org.eclipse.jetty.websocket.api.annotations.OnWebSocketConnect;
46 import org.eclipse.jetty.websocket.api.annotations.OnWebSocketMessage;
47 import org.eclipse.jetty.websocket.api.annotations.WebSocket;
52 @WebSocket(maxTextMessageSize = 64 * 1024)

Completed in 954 milliseconds

1 2 3