Home
last modified time | relevance | path

Searched defs:response (Results 1 – 5 of 5) sorted by relevance

/libcore/benchmarks/src/benchmarks/regression/
DURLConnectionBenchmark.java42 private MockResponse response; field in URLConnectionBenchmark.SingleResponseDispatcher
43 SingleResponseDispatcher(MockResponse response) { in SingleResponseDispatcher()
55 MockResponse response = new MockResponse(); in setUp() local
95 void setBody(MockResponse response, int bodySize, int chunkSize) throws IOException { in setBody()
108 void apply(MockResponse response) { in apply()
/libcore/support/src/test/java/tests/http/
DMockWebServer.java144 public void enqueue(MockResponse response) { in enqueue()
421 private void writeResponse(OutputStream out, MockResponse response) throws IOException { in writeResponse()
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java354 MockResponse response = new MockResponse().setChunkedBody("ABCDE\nFGHIJ\nKLMNO\nPQR", 8); in test_2939() local
372 MockResponse response = new MockResponse().setBody("ABCDEFGHIJKLMNOPQR"); in testConnectionsArePooled() local
388 MockResponse response = new MockResponse().setChunkedBody("ABCDEFGHIJKLMNOPQR", 5); in testChunkedConnectionsArePooled() local
1205 MockResponse response = new MockResponse(); in testMarkAndReset() local
1230 MockResponse response = new MockResponse() in testUnauthorizedResponseHandling() local
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java851 MockResponse response = new MockResponse(); in dispatch() local
886 MockResponse response = new MockResponse(); in dispatch() local
931 MockResponse response = new MockResponse(); in dispatch() local
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java381 String response = getLastResponseString(); in getTransferSize() local
399 String response = getLastResponseString(); in getTransferName() local
417 String response; in readServerResponse() local