Searched refs:requestMethod (Results 1 – 2 of 2) sorted by relevance
301 private int requestMethod; field in Support_TestWebServer.Worker428 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 …]
1475 private void assertValidRequestMethod(String requestMethod) throws Exception {1477 connection.setRequestMethod(requestMethod);1478 assertEquals(requestMethod, connection.getRequestMethod());1491 private void assertInvalidRequestMethod(String requestMethod) throws Exception {1494 connection.setRequestMethod(requestMethod);2482 @Override public CacheResponse get(URI uri, String requestMethod,2565 @Override public CacheResponse get(URI uri, String requestMethod,