Searched refs:HEADER_WEBSOCKET_PROTOCOL (Results 1 – 2 of 2) sorted by relevance
757 public static final String HEADER_WEBSOCKET_PROTOCOL = "sec-websocket-protocol"; field in NanoWSD855 if (headers.containsKey(NanoWSD.HEADER_WEBSOCKET_PROTOCOL)) { in serve()856 …handshakeResponse.addHeader(NanoWSD.HEADER_WEBSOCKET_PROTOCOL, headers.get(NanoWSD.HEADER_WEBSOCKE… in serve()
133 assertEquals(handshakeResponse.getHeader(NanoWSD.HEADER_WEBSOCKET_PROTOCOL), "chat"); in testHandshakeReturnsResponseWithExpectedHeaders()