@Test public void testOnRequest() { final WebSocket webSocket = new WebSocket(Mockito.mock(EngineIoWebSocket.class)); webSocket.onRequest(Mockito.mock(HttpServletRequest.class), Mockito.mock(HttpServletResponse.class)); }
@Override public void onRequest(HttpServletRequest request, HttpServletResponse response) { }
WebSocket extends Transport { @Override public void onRequest(HttpServletRequest request, HttpServletResponse response) { } }
WebSocket extends Transport { @Override public void onRequest(HttpServletRequest request, HttpServletResponse response) { } WebSocket(EngineIoWebSocket webSocket); }
WebSocket extends Transport { @Override public void onRequest(HttpServletRequest request, HttpServletResponse response) { } WebSocket(EngineIoWebSocket webSocket); @Override void onRequest(HttpServletRequest request, HttpServletResponse response); @Override void send(List<Packet<?>> packets); @Override boolean isWritable(); @Override String getName(); }
WebSocket extends Transport { @Override public void onRequest(HttpServletRequest request, HttpServletResponse response) { } WebSocket(EngineIoWebSocket webSocket); @Override void onRequest(HttpServletRequest request, HttpServletResponse response); @Override void send(List<Packet<?>> packets); @Override boolean isWritable(); @Override String getName(); static final String NAME; }