• Home
  • History
  • Annotate
  • only in /frameworks/volley/src/main/java/com/android/volley/toolbox/
History log of /frameworks/volley/src/main/java/com/android/volley/toolbox/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f0bc25d83ddceccd61c2c11a4fa71b9157290363 04-Dec-2015 Neil Fuller <nfuller@google.com> Merge "Workaround for HttpURLConnection.getFollowRedirects() on M"
am: 3b37453b1c

* commit '3b37453b1c8a15265640cebf0973ef552e569d33':
Workaround for HttpURLConnection.getFollowRedirects() on M
22205d92f2c31246c19c7d6ded5b75c189fabf87 02-Dec-2015 Neil Fuller <nfuller@google.com> Workaround for HttpURLConnection.getFollowRedirects() on M

HttpURLConnection.setFollowRedirects() has no effect on M due to a bug.
This should be safe / a no-op on other releases.

Bug: https://code.google.com/p/android/issues/detail?id=194495
Change-Id: Ie97861eba0560b63504662baa908f6a5856f68aa
urlStack.java
d6de789bd63bc6d2c441c577fb1424309964ad8f 28-Oct-2015 Ficus Kirkpatrick <ficus@android.com> Merge "Add API to get Auth Token Type used by authenticator." am: 708ade5a69
am: 96c4d0b9f5

* commit '96c4d0b9f58229b9dbba51f1776addedc66f4749':
Add API to get Auth Token Type used by authenticator.
7721ae67daf0231d57669c43a6e666d8c052c5bb 28-Oct-2015 oleksii stepanian <aste@google.com> Add API to get Auth Token Type used by authenticator.

When using different auth protocols e.g. ClientLogin and
OAuth2 it is important to know the type of the token in order
to construct "Authorization" header. Currently we have to
store auth token vaue/auth token type association elsewhere
which makes it a subject for errors.

Change-Id: I3b8c05672f5394ad806f257c9f6bb378ebf990d7
ndroidAuthenticator.java
331e52bbf5269d9effdbe42c1b26b4768f03a911 09-Oct-2015 Tom Ye <tomye@google.com> am 82462cd0: Make default timeout/retry/multiplier values public

* commit '82462cd0a0d7fa58d5497c39534380ad3987fdd1':
Make default timeout/retry/multiplier values public
82462cd0a0d7fa58d5497c39534380ad3987fdd1 11-Jun-2015 Tom Ye <tomye@google.com> Make default timeout/retry/multiplier values public

Change-Id: Ia5681e2876999f75cea3e4f5f9ef223a06787d4e
(cherry picked from commit 5d563ac2fab08f5e066c6fd6bbf012314be0bf8d)
mageRequest.java
d3207beaf19336cda461da53d1bdf1ba3d57df12 17-Jul-2015 Jukka Zitting <jlz@google.com> Process response bodies only when present

Responses to HEAD requests and any informational (1xx), no content (204)
and not modified (304) responses contain no bodies. This change skips
the response.setEntity(entityFromConnection(connection)) call when dealing
with such responses. This fixes a problem in BasicNetwork where a response
without a body is detected by checking whether the entity is null.

Bug: 176674 - volley java.lang.IllegalStateException: Content has not
been provided
Change-Id: I1b0ce77461ce5bedc7f6a53fd63311ea93ec5af0
urlStack.java
eaba1ab9224d30b2d3dba661284dd97bfc91ac11 10-May-2015 Ficus Kirkpatrick <ficus@android.com> Read from disk with a BufferedInputStream.

Missed a spot in the last commit. All disk I/O should now
be buffered.
iskBasedCache.java
19c4ec0b8f26bc140273d6a8c3ee04a69cede504 08-May-2015 Ficus Kirkpatrick <ficus@android.com> Use a BufferedOutputStream to write cache entries.

Turns out to be almost 20% faster in a simple benchmark.
iskBasedCache.java
b1a9085ebd2e7bfb2ebe0c200411b4b17c1ecdec 19-Mar-2015 Ficus Kirkpatrick <ficus@android.com> Merge "Add support for all HTTP methods to JsonArrayRequest"
6b30d9452e118b0b5781c370aa5e90cc11f435ca 18-Mar-2015 Joris Bolsens <epicblood@gmail.com> Add support for all HTTP methods to JsonArrayRequest

Change-Id: I6e89f69885a63d524c48b1dec54553d6e16edd48
Signed-off-by: Joris Bolsens <epicblood@gmail.com>
sonArrayRequest.java
782b52fd6f5c62f5b38148432acbc4e79351fd0b 11-Mar-2015 Dave Santoro <dsantoro@google.com> Modify header parser to handle must-revalidate.

This flag indicates that the response must NOT be returned after the
cache TTL has expired, but it does not mandate that the response
should not be cached at all (which the code was doing previously).

Change-Id: I61532f3aa8144c50dcee442dc30215bb81ada868
ttpHeaderParser.java
f42d384cece1686c75c282e5cb72fa9b340af5fe 06-Mar-2015 Ralph Bergmann <ralph@the4thfloor.eu> Fix broken DiskBasedCache

Change-Id: Ia5db47122af11223b55845ef8423424a9cddbb21
Signed-off-by: Ralph Bergmann <ralph@the4thfloor.eu>
iskBasedCache.java
79d00f42dd34d409cd3b2deb0a82e99a0417e340 06-Mar-2015 Ficus Kirkpatrick <ficus@android.com> Merge "fix ImageLoader.getCacheKey()"
d95219cb1c414de049f90c97fccad638b11bdc85 05-Mar-2015 Ralph Bergmann <ralph@the4thfloor.eu> fix ImageLoader.getCacheKey()

The ScaleType was missing.

Change-Id: I57cba7cbf60df1e47ea9d8baf480765c6e39d821
Signed-off-by: Ralph Bergmann <ralph@the4thfloor.eu>
mageLoader.java
f58de9c02dfc64c1ec4743ba040debc5cf87b560 05-Mar-2015 Ralph Bergmann <ralph@the4thfloor.eu> clean up a little bit

Change-Id: Ibbe796c05e406acd48a0d59090e6be746db24867
Signed-off-by: Ralph Bergmann <ralph@the4thfloor.eu>
mageLoader.java
ee454371157d9a3fb74b70ee8ba93cf96559acf3 20-Feb-2015 Ficus Kirkpatrick <ficus@android.com> Merge "Change the default character encoding for JSON responses to UTF-8"
6c9de79451d6f9410c006e4b17d3d07fae12b273 19-Feb-2015 Ficus Kirkpatrick <ficus@android.com> A little work on unit testing.

Add emma and mockito to the Maven build, and test a
couple random things.
ndroidAuthenticator.java
cf498d16c616989edb5e2791da801bd29f548628 17-Feb-2015 Ficus Kirkpatrick <ficus@android.com> Add a backwards-compatible ImageRequest constructor.

Restores the API surface to before ScaleType was required.
mageRequest.java
a67f7d1922920d115101a266e8902325800c5fb9 16-Feb-2015 Narayan Kamath <narayan@google.com> Fix volley related build breakage.

(cherry picked from commit 46741f2f5165cbf3cdc0c51107e5ffff8002af5b)

Change-Id: I6fc32971f03d7958a75250e14a7efdb0a12d8d30
mageLoader.java
8e33d93dc1aae9bb9dbde3b80af8a76ba28f0e19 08-Oct-2014 Ralph Bergmann <ralph@the4thfloor.eu> Adds Cache-Control "stale-while-revalidate"

Adds Cache-Control "stale-while-revalidate" header parsing for better
server side cache entry expire setup.

see:
https://www.mnot.net/blog/2007/12/12/stale
http://tools.ietf.org/html/rfc5861
https://groups.google.com/a/chromium.org/forum/m/#!msg/chromium-dev/zchogDvIYrY/ZqWSdt3LJdMJ
Signed-off-by: Ralph Bergmann <ralph@the4thfloor.eu>

Change-Id: I1b7baf9997d3a8a251d21631a11deb503e3a7461
ttpHeaderParser.java
9324df1b8046548587ffec89ec755264f6fbb097 21-Sep-2014 Ralph Bergmann <ralph@the4thfloor.eu> Uses the "Last-Modified" header for "If-Modified-Since"

Uses the "Last-Modified" header for "If-Modified-Since"
see http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.3.4

Change-Id: I0f5e9b45f4f79d7c1b286e465f9750dcd71b6bfd
Signed-off-by: Ralph Bergmann <ralph@the4thfloor.eu>
asicNetwork.java
iskBasedCache.java
ttpHeaderParser.java
6bafd7d28fc7947f263feb7134fc8a70084357c3 20-Jan-2015 Zdeněk Kořán <zkoran@gmail.com> Change the default character encoding for JSON responses to UTF-8

According to RFC 7159 (Section 8.1), the default encoding of JSON should be UTF-8.
Using ISO-8859-1 as default causes incompatibility with some JSON APIs (e.g. wrong interpretation of internationalized strings).
ttpHeaderParser.java
sonArrayRequest.java
sonObjectRequest.java
sonRequest.java
ced8a98b9ffa3612656b7979f8933ae9cf19d657 16-Dec-2013 Ralph Bergmann <ralph@the4thfloor.eu> Use the view size and scale type to restrict NIV requests.

Change-Id: I77e705c09937f78af746cd73b6e6d94fd4ee2a03
mageLoader.java
mageRequest.java
etworkImageView.java
b9b8dc3d98fb1a8c3f02c2c2fcc18cbd344c05cb 29-Nov-2014 Ficus Kirkpatrick <ficus@android.com> Migrate from Gradle to Maven.

- Restructure source to src/{main,test} style
- Add pom.xml and update Android.mk
- Migrate all tests to JUnit4 and Robolectric
- RequestQueueTest is currently @Ignored as fixing it will
involve more extensive refactoring.
- Main library still builds in Gradle; tests do not

Change-Id: I1edc53bb1a54f64d3e806e4572901295ef63e2ca
ndroidAuthenticator.java
uthenticator.java
asicNetwork.java
yteArrayPool.java
learCacheRequest.java
iskBasedCache.java
ttpClientStack.java
ttpHeaderParser.java
ttpStack.java
urlStack.java
mageLoader.java
mageRequest.java
sonArrayRequest.java
sonObjectRequest.java
sonRequest.java
etworkImageView.java
oCache.java
oolingByteArrayOutputStream.java
equestFuture.java
tringRequest.java
olley.java