Skip to content

Commit 5916c23

Browse files
committed
Refactored okhttp/apache repo, switched to okhttp 2.5.0 and solved issue with new line in authorisation header
1 parent a379319 commit 5916c23

4 files changed

Lines changed: 0 additions & 44 deletions

File tree

‎README.md‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ Snapshots of the development version are available in Sonatype's snapshots repos
2222
### Usage
2323

2424
```java
25-
import ClientConfiguration;
26-
import Feed;
27-
2825
// Instantiate a new client to connect to us east API endpoint
2926
// Find your API keys here https://getstream.io/dashboard/
3027

‎stream-core/src/main/java/io/getstream/client/model/beans/StreamErrorResponse.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@
3434
import com.fasterxml.jackson.annotation.JsonRawValue;
3535
import com.fasterxml.jackson.databind.JsonNode;
3636

37-
import java.beans.Transient;
38-
import java.util.LinkedHashMap;
39-
4037
/**
4138
* Map the response message coming from GetStream.io server.
4239
*/

‎stream-repo-okhttp/src/main/java/io/getstream/client/okhttp/NewLineIssue.java‎

Lines changed: 0 additions & 37 deletions
This file was deleted.

‎stream-repo-okhttp/src/main/java/io/getstream/client/okhttp/repo/StreamActivityRepository.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ public <T extends BaseActivity> T addActivity(BaseFeed feed, T activity) throws
9090
LOG.debug("Invoking url: '{}", request.urlString());
9191

9292
Response response = httpClient.newCall(request).execute();
93-
//System.out.println(response.body().string());
9493
handleResponseCode(response);
9594
return objectMapper.readValue(response.body().byteStream(),
9695
objectMapper.getTypeFactory().constructType(activity.getClass()));

0 commit comments

Comments
 (0)