Home
last modified time | relevance | path

Searched refs:HEADER_UPGRADE (Results 1 – 2 of 2) sorted by relevance

/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/
DWebSocketResponseHandlerTest.java150 assertNull(handshakeResponse.getHeader(NanoWSD.HEADER_UPGRADE)); in testWrongConnectionHeaderReturnsNullResponse()
157 assertNull(handshakeResponse.getHeader(NanoWSD.HEADER_UPGRADE)); in testWrongUpgradeHeaderReturnsNullResponse()
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java96 this.handshakeResponse.addHeader(NanoWSD.HEADER_UPGRADE, NanoWSD.HEADER_UPGRADE_VALUE); in WebSocket()
741 public static final String HEADER_UPGRADE = "upgrade"; field in NanoWSD
823 String upgrade = headers.get(NanoWSD.HEADER_UPGRADE); in isWebsocketRequested()