- 09 5月, 2014 1 次提交
-
-
由 Jake Wharton 提交于
-
- 21 3月, 2014 2 次提交
-
-
由 Jake Wharton 提交于
-
由 Jake Wharton 提交于
-
- 02 2月, 2014 2 次提交
-
-
由 Jake Wharton 提交于
-
由 Jake Wharton 提交于
-
- 01 2月, 2014 2 次提交
-
-
由 Jake Wharton 提交于
-
由 Jake Wharton 提交于
-
- 26 11月, 2013 2 次提交
-
-
由 Jake Wharton 提交于
-
由 Jake Wharton 提交于
-
- 28 10月, 2013 1 次提交
-
-
由 fabienric 提交于
-
- 13 9月, 2013 2 次提交
-
-
由 Jake Wharton 提交于
-
由 Jake Wharton 提交于
-
- 31 8月, 2013 2 次提交
-
-
由 Jake Wharton 提交于
-
由 Jake Wharton 提交于
-
- 24 8月, 2013 3 次提交
-
-
由 Jake Wharton 提交于
-
由 Jake Wharton 提交于
-
由 Jake Wharton 提交于
-
- 23 7月, 2013 1 次提交
-
-
由 Kai Waldron 提交于
Whitespace cleanup.
-
- 15 7月, 2013 1 次提交
-
-
由 Jake Wharton 提交于
-
- 26 6月, 2013 2 次提交
-
-
由 Jake Wharton 提交于
-
由 Jake Wharton 提交于
-
- 21 6月, 2013 2 次提交
-
-
由 Jake Wharton 提交于
-
由 Jake Wharton 提交于
-
- 04 6月, 2013 1 次提交
-
-
由 Jake Wharton 提交于
In addition to global headers (which were doable before), this allows for global path param replacement in URLs. This has cropped up in a few APIs over the internet and we're traditionally not provided a good path to implementation. Before you would have to manually move the global param around your application to every method call site onto a Retrofit interface. This new interface provides a single place to manage these global params along with other global headers (such as for authentication). Given: @GET("/show/{apiKey}/{showId}/episodes") List<Episode> episodes(@Path("showId") String showId) Usage: class FooInterceptor implements RequestInterceptor { @Inject @ApiKey String apiKey; @Override public void intercept(RequestFacade request) { request.addPathParam("apiKey", apiKey); } } This also has the added benefit of saving an extra `List` allocation for global headers since they are now set directly on the underlying `Request` via the facade interface.
-
- 29 5月, 2013 1 次提交
-
-
由 Jake Wharton 提交于
Also move it to its own groupId.
-
- 24 5月, 2013 2 次提交
-
-
由 Jake Wharton 提交于
-
由 Jake Wharton 提交于
-
- 14 5月, 2013 2 次提交
-
-
由 Jake Wharton 提交于
-
由 Jake Wharton 提交于
-
- 13 5月, 2013 2 次提交
-
-
由 Jake Wharton 提交于
-
由 Jake Wharton 提交于
-
- 26 3月, 2013 1 次提交
-
-
由 Jake Wharton 提交于
-
- 20 2月, 2013 1 次提交
-
-
由 Jake Wharton 提交于
Closes #137.
-
- 12 2月, 2013 1 次提交
-
-
由 Jake Wharton 提交于
Move the HTTP client implementation behind interfaces which allow for its substitution. A `Client` is a one-method class which takes a `Request` object, executes an HTTP request represented by it synchronously, and returns a `Response` object representing the HTTP response entirely. Since this is such a fundamental change all of the tests which interact with and verify the client have been rewritten from scratch. This commit also changes two behaviors which were previously present: * Implicit, form-encoded request bodies are no longer supported. Extra `@Named` params on a method is now invalid. * Multi-part requests are no longer implicit. Methods which submit multi-part request bodies must be annotated with `@Multipart`.
-
- 30 10月, 2012 1 次提交
-
-
由 Jake Wharton 提交于
* Bump version to 1.0.0-SNAPSHOT. * Conslidate 'http' and 'io' modules into a single 'retrofit' module. * Remove native directory sync code and example. * Renames 'examples' to 'samples'.
-
- 29 10月, 2012 1 次提交
-
-
由 Jake Wharton 提交于
-
- 24 10月, 2012 1 次提交
-
-
由 Jake Wharton 提交于
-
- 10 10月, 2012 1 次提交
-
-
由 Jake Wharton 提交于
This is a short step on the road to HTTP body format agnostic support. And it's not a pretty step, either.
-
- 01 9月, 2012 1 次提交
-
-
由 Jake Wharton 提交于
* Reintroduce shake detection as its own module. * Move YAFFS-specific directory sync to its own module. * Focus HTTP and I/O modules. * Queue module for `QueueFile` and future queue-related stuff.
-