Searched refs:getSocketPolicy (Results 1 – 4 of 4) sorted by relevance
269 SocketPolicy socketPolicy = dispatcher.peek().getSocketPolicy(); in play()307 SocketPolicy socketPolicy = dispatcher.peek().getSocketPolicy(); in serveConnection()348 SocketPolicy socketPolicy = dispatcher.peek().getSocketPolicy(); in serveConnection()369 if (response.getSocketPolicy() == SocketPolicy.DISCONNECT_AFTER_READING_REQUEST) { in serveConnection()391 if (response.getSocketPolicy() == SocketPolicy.DISCONNECT_AT_END) { in serveConnection()394 } else if (response.getSocketPolicy() == SocketPolicy.SHUTDOWN_INPUT_AT_END) { in serveConnection()396 } else if (response.getSocketPolicy() == SocketPolicy.SHUTDOWN_OUTPUT_AT_END) { in serveConnection()
222 public SocketPolicy getSocketPolicy() { in getSocketPolicy() method in MockResponse
388 SocketPolicy socketPolicy = dispatcher.peek().getSocketPolicy();441 SocketPolicy socketPolicy = dispatcher.peek().getSocketPolicy();507 SocketPolicy socketPolicy = dispatcher.peek().getSocketPolicy();528 if (response.getSocketPolicy() == SocketPolicy.DISCONNECT_AFTER_REQUEST) {532 if (response.getSocketPolicy() == SocketPolicy.NO_RESPONSE) {554 if (response.getSocketPolicy() == SocketPolicy.DISCONNECT_AT_END) {557 } else if (response.getSocketPolicy() == SocketPolicy.SHUTDOWN_INPUT_AT_END) {559 } else if (response.getSocketPolicy() == SocketPolicy.SHUTDOWN_OUTPUT_AT_END) {763 ? policy.getSocketPolicy() == DISCONNECT_DURING_REQUEST_BODY764 : policy.getSocketPolicy() == DISCONNECT_DURING_RESPONSE_BODY;[all …]
188 public SocketPolicy getSocketPolicy() { in getSocketPolicy() method in MockResponse