1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-27 04:22:07 +03:00
Commit Graph

23 Commits

Author SHA1 Message Date
limpbizkit@gmail.com
1742e1eea0 New javadoc
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@26 cf848351-439f-e86a-257f-67fa721851d5
2012-08-20 05:16:06 +00:00
limpbizkit@gmail.com
889463746b Documentation cleanup.
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@25 cf848351-439f-e86a-257f-67fa721851d5
2012-08-20 05:15:49 +00:00
limpbizkit@gmail.com
c71fb83d25 New javadoc
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@24 cf848351-439f-e86a-257f-67fa721851d5
2012-08-20 05:03:55 +00:00
limpbizkit@gmail.com
a96861224b New javadoc
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@23 cf848351-439f-e86a-257f-67fa721851d5
2012-08-20 05:03:06 +00:00
edenman@gmail.com
57edb21a2a Adding support for custom dispatchers. This allows for non-linear response ordering.
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@22 cf848351-439f-e86a-257f-67fa721851d5
2012-08-17 21:39:29 +00:00
limpbizkit@gmail.com
b5f749f202 Support Froyo.
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@21 cf848351-439f-e86a-257f-67fa721851d5
2012-08-02 00:00:02 +00:00
limpbizkit@gmail.com
abb3ab4f50 New Javadocs.
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@20 cf848351-439f-e86a-257f-67fa721851d5
2012-07-31 15:39:34 +00:00
limpbizkit@gmail.com
ec1f3e9073 Rebuild Javadoc
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@19 cf848351-439f-e86a-257f-67fa721851d5
2012-07-31 15:37:03 +00:00
limpbizkit@gmail.com
daa9c93ce3 Fix some ergonomic issues in the API. This adds some missing methods and removes some unnecessary exceptions.
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@18 cf848351-439f-e86a-257f-67fa721851d5
2012-07-31 15:32:16 +00:00
limpbizkit@gmail.com
e9e2f742d0 Fix a bug where we were still exiting without an explicit shutdown()
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@17 cf848351-439f-e86a-257f-67fa721851d5
2012-07-31 14:39:09 +00:00
limpbizkit@gmail.com
2b67e7069c Don't exit the server just because the response queue is empty.
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@16 cf848351-439f-e86a-257f-67fa721851d5
2012-07-27 22:59:24 +00:00
jessewilson@google.com
d9f5a07579 Fix NPE in RecordedRequest Constructor
Bug 6294000

MockWebServer passes null as the requestLine argument to
RecordedRequest sometimes which causes a NPE. Fix
RecordedRequest's constructor to allow for null method
and path which is parsed from the requestLine argument.

This change authored by Brian Muramatsu

git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@15 cf848351-439f-e86a-257f-67fa721851d5
2012-05-10 17:52:36 +00:00
jessewilson@google.com
cdf6c30558 More maven boilerplate.
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@14 cf848351-439f-e86a-257f-67fa721851d5
2012-04-01 18:53:26 +00:00
jessewilson@google.com
263a22e0a6 More header manipulation, limit bytes-per-second.
AOSP author: Jeff Sharkey
Date: Thu Mar 29 14:04:11 2012 -0700

Add setHeader() and removeHeader() that mutate matching MockResponse
headers. Support "bytes-per-second" to throttle response rate. Split
request line into components.

AOSP Change-Id: I107baa3727ced2d7ddcc5e3cb983f5dc9341dabd

git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@13 cf848351-439f-e86a-257f-67fa721851d5
2012-04-01 18:52:44 +00:00
jessewilson@google.com
4ebac2656c Upgrade from ant to maven.
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@12 cf848351-439f-e86a-257f-67fa721851d5
2012-01-27 21:57:40 +00:00
jessewilson@google.com
7bb99fd0bd Support SSL handshake failures.
Also add an API to RecordedRequest to help differentiate between
original TLSv1 requests and SSLv3 fallback requests.


git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@11 cf848351-439f-e86a-257f-67fa721851d5
2011-12-20 01:07:46 +00:00
jessewilson@google.com
f003d2260d Add an API to expose the server's cookie domain.
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@10 cf848351-439f-e86a-257f-67fa721851d5
2011-12-14 21:59:58 +00:00
jessewilson@google.com
739cb3ec6c More interesting example tests
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@6 cf848351-439f-e86a-257f-67fa721851d5
2011-06-04 00:34:50 +00:00
jessewilson@google.com
62177b80f0 Add Javadoc
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@5 cf848351-439f-e86a-257f-67fa721851d5
2011-05-25 06:35:43 +00:00
jessewilson@google.com
972a2f7556 Test for redirect
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@4 cf848351-439f-e86a-257f-67fa721851d5
2011-05-25 06:25:22 +00:00
jessewilson@google.com
7cabedc08a Tests for MockWebServer.
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@3 cf848351-439f-e86a-257f-67fa721851d5
2011-05-25 06:07:42 +00:00
jessewilson@google.com
0c4790dafa Initial checkin of MockWebServer.
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@2 cf848351-439f-e86a-257f-67fa721851d5
2011-05-25 05:40:16 +00:00
(no author)
6594b2a899 Initial directory structure.
git-svn-id: https://mockwebserver.googlecode.com/svn/trunk@1 cf848351-439f-e86a-257f-67fa721851d5
2011-05-25 05:18:01 +00:00