Searched refs:newResponse (Results 1 – 2 of 2) sorted by relevance
685 SIPResponse newResponse; in createResponse() local689 newResponse = new SIPResponse(); in createResponse()691 newResponse.setStatusCode(statusCode); in createResponse()696 newResponse.setReasonPhrase(reasonPhrase); in createResponse()698 newResponse.setReasonPhrase(SIPResponse.getReasonPhrase(statusCode)); in createResponse()713 newResponse.attachHeader((SIPHeader) nextHeader.clone(), false); in createResponse()720 newResponse.setHeader(MessageFactoryImpl.getDefaultServerHeader()); in createResponse()723 if (newResponse.getStatusCode() == 100) { in createResponse()725 newResponse.getTo().removeParameter("tag"); in createResponse()730 newResponse.setHeader(server); in createResponse()[all …]
169 final MockResponse response = newResponse(); in startServer()180 private MockResponse newResponse() throws IOException { in newResponse() method in Benchmark