Searched refs:newResponse (Results 1 – 4 of 4) sorted by relevance
178 function newResponse(payload = '._.'): Message { function289 newResponse('0_o')295 expect(response).toEqual(newResponse('0_o'));301 const response = newResponse('hello world');325 const response = newResponse('hello world');414 const response1 = newResponse('!!!');415 const response2 = newResponse('?');440 const response1 = newResponse('!!!');441 const response2 = newResponse('?');478 const testResponse = newResponse('!!!');[all …]
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 …]
33 function newResponse(payload = '._.'): Message { function106 const response1 = newResponse('!!!');107 const response2 = newResponse('?');
169 final MockResponse response = newResponse(); in startServer()180 private MockResponse newResponse() throws IOException { in newResponse() method in Benchmark