Home
last modified time | relevance | path

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

/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPRequest.java685 SIPResponse newResponse; in createResponse() local
689 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 …]
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DBenchmark.java169 final MockResponse response = newResponse(); in startServer()
180 private MockResponse newResponse() throws IOException { in newResponse() method in Benchmark