Lines Matching refs:is
5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
40 req.setResponseEntityBody ("Hello, This is the response body. Let's make it as long as possible since we need to test the cache mechanism.");
66 * Aborts the attempt to cache the response. If an IOException is
105 InputStream is = urlc.getInputStream();
106 System.out.println("is is " + is.getClass() + ". And markSupported: " + is.markSupported());
107 if (is.markSupported()) {
112 is.mark(10);
113 len = is.read(b, 0, 10);
114 is.reset();
118 len = is.read(b, count, 40 - count);
122 is.mark(20);
123 len = is.read(b2, 0, 20);
124 is.reset();
125 len = is.read(b, count, 10);
127 is.mark(20);
128 len = is.read(b2, 0, 20);
129 is.reset();
131 len = is.read(b, count, 1024 - count);
135 is.close();