128129130131132133134135136137138
} catch (IOException e) { throw new RuntimeException(e); } method.releaseConnection(); } @Test public void testIfUnmodifiedSinceBeforeLastModified_IfModifiedSinceBeforeLastModified() {
147148149150151152153154155156157
} catch (IOException e) { throw new RuntimeException(e); } method.releaseConnection(); } @Test public void testIfUnmodifiedSinceBeforeLastModified_IfModifiedSinceAfterLastModified() {
166167168169170171172173174175176
} catch (IOException e) { throw new RuntimeException(e); } method.releaseConnection(); } @Test public void testIfUnmodifiedSinceAfterLastModified_IfModifiedSinceAfterLastModified() {
185186187188189190191192193194195
} catch (IOException e) { throw new RuntimeException(e); } method.releaseConnection(); } @Test public void testIfUnmodifiedSinceAfterLastModified_IfModifiedSinceBeforeLastModified() {
204205206207208209210211212213214
} catch (IOException e) { throw new RuntimeException(e); } method.releaseConnection(); } @Path("/etag") public static class EtagResource {
324325326327328329330331332333334
} catch (IOException e) { throw new RuntimeException(e); } method.releaseConnection(); } public void testIfMatchWithoutMatchingETag(String fromField) { HttpClient client = new HttpClient();
341342343344345346347348349350351
} catch (IOException e) { throw new RuntimeException(e); } method.releaseConnection(); } public void testIfMatchWildCard(String fromField) { HttpClient client = new HttpClient();
358359360361362363364365366367368
} catch (IOException e) { throw new RuntimeException(e); } method.releaseConnection(); } public void testIfNonMatchWithMatchingETag(String fromField) { HttpClient client = new HttpClient();
376377378379380381382383384385386
} catch (IOException e) { throw new RuntimeException(e); } method.releaseConnection(); } public void testIfNonMatchWithoutMatchingETag(String fromField) { HttpClient client = new HttpClient();
393394395396397398399400401402403
} catch (IOException e) { throw new RuntimeException(e); } method.releaseConnection(); } public void testIfNonMatchWildCard(String fromField) { HttpClient client = new HttpClient();