1. 13 5月, 2013 10 次提交
  2. 12 5月, 2013 1 次提交
    • J
      Merge remote-tracking branch 'ac/header-params' into jw/rewrite-all-the-things · 8f513869
      Jake Wharton 提交于
      Conflicts:
      	retrofit/src/main/java/retrofit/http/RequestBuilder.java
      	retrofit/src/main/java/retrofit/http/RequestHeaders.java
      	retrofit/src/main/java/retrofit/http/RestAdapter.java
      	retrofit/src/main/java/retrofit/http/RestMethodInfo.java
      	retrofit/src/main/java/retrofit/http/client/ApacheClient.java
      	retrofit/src/main/java/retrofit/http/client/Header.java
      	retrofit/src/main/java/retrofit/http/client/Request.java
      	retrofit/src/main/java/retrofit/http/client/Response.java
      	retrofit/src/main/java/retrofit/http/client/UrlConnectionClient.java
      	retrofit/src/test/java/retrofit/http/RequestBuilderTest.java
      	retrofit/src/test/java/retrofit/http/client/ApacheClientTest.java
      	retrofit/src/test/java/retrofit/http/client/UrlConnectionClientTest.java
      8f513869
  3. 11 5月, 2013 1 次提交
    • J
      Rewrite annotations to be more descriptive. · 2ef7ca06
      Jake Wharton 提交于
      Method level:
       * `@FormEncoded`
       * `@Multipart`
      
      Parameter level:
       * `@Path` - URL path replacement
       * `@Query` - URL query string
       * `@Pair` - Form-encoding pair
       * `@Part` - Multi-part part
       * `@Body` - Single-object body (Old `@SingleEntity`)
      
      This removes support for `@QueryParam`/`@QueryParams` in favor of including constants in the declared URL itself. e.g.,
      
          @GET("/list?foo=bar")
      2ef7ca06
  4. 10 5月, 2013 1 次提交
  5. 09 5月, 2013 8 次提交
  6. 07 5月, 2013 2 次提交
  7. 04 5月, 2013 4 次提交
  8. 02 5月, 2013 2 次提交
    • J
      Merge pull request #187 from square/jw/eager-stream-read · 76350e15
      Jake Wharton 提交于
      Eagerly consume a stream when exposing to caller.
      76350e15
    • J
      Eagerly consume a stream when exposing to caller. · 8e37431e
      Jake Wharton 提交于
      HTTP responses return an input stream wrapped in a TypedInput which we pass to the converter for deserialization as fast as the bytes come in. If we are skipping the converter (non-2xx resposne code) or returning the response directly we eagerly consume the stream to a byte[] for the caller.
      
      If the converter threw an exception while reading the stream then it is nulled out before being handed to the RetrofitError. This prevents partially read streams from being exposed.
      
      Closes #181.
      8e37431e
  9. 16 4月, 2013 3 次提交
  10. 12 4月, 2013 3 次提交
  11. 30 3月, 2013 1 次提交
  12. 28 3月, 2013 2 次提交
  13. 27 3月, 2013 2 次提交