Home
last modified time | relevance | path

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

/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java301 private int requestMethod; field in Support_TestWebServer.Worker
428 requestMethod = UNKNOWN_METHOD; in parseStatusLine()
436 requestMethod = GET_METHOD; in parseStatusLine()
444 requestMethod = HEAD_METHOD; in parseStatusLine()
452 requestMethod = POST_METHOD; in parseStatusLine()
457 requestMethod = UNKNOWN_METHOD; in parseStatusLine()
462 if (requestMethod > UNKNOWN_METHOD) { in parseStatusLine()
468 requestMethod = UNKNOWN_METHOD; in parseStatusLine()
495 requestMethod = UNKNOWN_METHOD; in parseHeader()
574 if (requestMethod != UNKNOWN_METHOD) { in handleClient()
[all …]
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java1522 private void assertValidRequestMethod(String requestMethod) throws Exception {
1524 connection.setRequestMethod(requestMethod);
1525 assertEquals(requestMethod, connection.getRequestMethod());
1538 private void assertInvalidRequestMethod(String requestMethod) throws Exception {
1541 connection.setRequestMethod(requestMethod);
2547 @Override public CacheResponse get(URI uri, String requestMethod,
2630 @Override public CacheResponse get(URI uri, String requestMethod,