Searched refs:HTTP_NO_CONTENT (Results 1 – 9 of 9) sorted by relevance
19 import static java.net.HttpURLConnection.HTTP_NO_CONTENT;54 case HTTP_NO_CONTENT: in isCacheable()
63 import static java.net.HttpURLConnection.HTTP_NO_CONTENT;496 && responseCode != HTTP_NO_CONTENT in hasBody()
20 import static java.net.HttpURLConnection.HTTP_NO_CONTENT;56 case HTTP_NO_CONTENT: in isCacheable()
64 import static java.net.HttpURLConnection.HTTP_NO_CONTENT;507 && responseCode != HTTP_NO_CONTENT in hasBody()
143 && responseCode != HttpURLConnection.HTTP_NO_CONTENT in hasResponseBody()
250 when(mMockConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_NO_CONTENT); in executeRequestClosesConnection_noResponseBody()
298 # define HTTP_NO_CONTENT HTTP_STATUS_NO_CONTENT macro
168 } else if (responseCode == HttpURLConnection.HTTP_NO_CONTENT in assertCached()
2377 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NO_CONTENT)