Searched refs:socketPolicy (Results 1 – 5 of 5) sorted by relevance
49 private SocketPolicy socketPolicy = SocketPolicy.KEEP_OPEN; field in MockResponse223 return socketPolicy; in getSocketPolicy()226 public MockResponse setSocketPolicy(SocketPolicy socketPolicy) { in setSocketPolicy() argument227 this.socketPolicy = socketPolicy; in setSocketPolicy()
269 SocketPolicy socketPolicy = dispatcher.peek().getSocketPolicy(); in play()270 if (socketPolicy == DISCONNECT_AT_START) { in play()307 SocketPolicy socketPolicy = dispatcher.peek().getSocketPolicy(); in serveConnection()308 if (socketPolicy == FAIL_HANDSHAKE) { in serveConnection()348 SocketPolicy socketPolicy = dispatcher.peek().getSocketPolicy(); in serveConnection()352 if (socketPolicy == SocketPolicy.UPGRADE_TO_SSL_AT_END) return; in serveConnection()
40 private SocketPolicy socketPolicy = SocketPolicy.KEEP_OPEN; field in MockResponse189 return socketPolicy; in getSocketPolicy()192 public MockResponse setSocketPolicy(SocketPolicy socketPolicy) { in setSocketPolicy() argument193 this.socketPolicy = socketPolicy; in setSocketPolicy()
388 SocketPolicy socketPolicy = dispatcher.peek().getSocketPolicy();389 if (socketPolicy == DISCONNECT_AT_START) {441 SocketPolicy socketPolicy = dispatcher.peek().getSocketPolicy();442 if (socketPolicy == FAIL_HANDSHAKE) {507 SocketPolicy socketPolicy = dispatcher.peek().getSocketPolicy();511 if (socketPolicy == SocketPolicy.UPGRADE_TO_SSL_AT_END) return;
411 private void testServerClosesOutput(SocketPolicy socketPolicy) throws Exception { in testServerClosesOutput() argument413 .setSocketPolicy(socketPolicy)); in testServerClosesOutput()