Searched refs:requestMethod (Results 1 – 3 of 3) sorted by relevance
335 private int requestMethod; field in TestWebServer.Worker506 requestMethod = UNKNOWN_METHOD; in parseStatusLine()514 requestMethod = GET_METHOD; in parseStatusLine()522 requestMethod = HEAD_METHOD; in parseStatusLine()530 requestMethod = POST_METHOD; in parseStatusLine()535 requestMethod = UNKNOWN_METHOD; in parseStatusLine()540 if (requestMethod > UNKNOWN_METHOD) { in parseStatusLine()546 requestMethod = UNKNOWN_METHOD; in parseStatusLine()575 requestMethod = UNKNOWN_METHOD; in parseHeader()654 if (requestMethod != UNKNOWN_METHOD) { in handleClient()[all …]
204 @Override public CacheResponse get(URI uri, String requestMethod, in get() argument206 return delegate.get(uri, requestMethod, requestHeaders); in get()
138 private static boolean hasResponseBody(int requestMethod, int responseCode) { in hasResponseBody() argument139 return requestMethod != Request.Method.HEAD in hasResponseBody()