Package io.getstream.cloud
Class CloudClient
- java.lang.Object
-
- io.getstream.cloud.CloudClient
-
public final class CloudClient extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CloudClient.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudAggregatedFeed
aggregatedFeed(FeedID id)
CloudAggregatedFeed
aggregatedFeed(java.lang.String slug)
CloudAggregatedFeed
aggregatedFeed(java.lang.String slug, CloudUser user)
CloudAggregatedFeed
aggregatedFeed(java.lang.String slug, java.lang.String userID)
CloudAnalyticsClient
analytics()
static CloudClient.Builder
builder(java.lang.String apiKey, Token token, java.lang.String userID)
static CloudClient.Builder
builder(java.lang.String apiKey, Token token, java.lang.String userID, java.lang.String appID)
static CloudClient.Builder
builder(java.lang.String apiKey, java.lang.String token, java.lang.String userID)
CloudCollectionsClient
collections()
CloudFileStorageClient
files()
CloudFlatFeed
flatFeed(FeedID id)
CloudFlatFeed
flatFeed(java.lang.String slug)
CloudFlatFeed
flatFeed(java.lang.String slug, CloudUser user)
CloudFlatFeed
flatFeed(java.lang.String slug, java.lang.String userID)
<T> T
getHTTPClientImplementation()
CloudImageStorageClient
images()
CloudNotificationFeed
notificationFeed(FeedID id)
CloudNotificationFeed
notificationFeed(java.lang.String slug)
CloudNotificationFeed
notificationFeed(java.lang.String slug, CloudUser user)
CloudNotificationFeed
notificationFeed(java.lang.String slug, java.lang.String userID)
java8.util.concurrent.CompletableFuture<OGData>
openGraph(java.net.URL url)
CloudReactionsClient
reactions()
CloudUser
user(java.lang.String userID)
-
-
-
Method Detail
-
builder
public static CloudClient.Builder builder(java.lang.String apiKey, java.lang.String token, java.lang.String userID)
-
builder
public static CloudClient.Builder builder(java.lang.String apiKey, Token token, java.lang.String userID)
-
builder
public static CloudClient.Builder builder(java.lang.String apiKey, Token token, java.lang.String userID, java.lang.String appID)
-
getHTTPClientImplementation
public <T> T getHTTPClientImplementation()
-
openGraph
public java8.util.concurrent.CompletableFuture<OGData> openGraph(java.net.URL url) throws StreamException
- Throws:
StreamException
-
flatFeed
public CloudFlatFeed flatFeed(java.lang.String slug)
-
flatFeed
public CloudFlatFeed flatFeed(java.lang.String slug, CloudUser user)
-
flatFeed
public CloudFlatFeed flatFeed(java.lang.String slug, java.lang.String userID)
-
flatFeed
public CloudFlatFeed flatFeed(FeedID id)
-
aggregatedFeed
public CloudAggregatedFeed aggregatedFeed(java.lang.String slug)
-
aggregatedFeed
public CloudAggregatedFeed aggregatedFeed(java.lang.String slug, CloudUser user)
-
aggregatedFeed
public CloudAggregatedFeed aggregatedFeed(java.lang.String slug, java.lang.String userID)
-
aggregatedFeed
public CloudAggregatedFeed aggregatedFeed(FeedID id)
-
notificationFeed
public CloudNotificationFeed notificationFeed(java.lang.String slug)
-
notificationFeed
public CloudNotificationFeed notificationFeed(java.lang.String slug, CloudUser user)
-
notificationFeed
public CloudNotificationFeed notificationFeed(java.lang.String slug, java.lang.String userID)
-
notificationFeed
public CloudNotificationFeed notificationFeed(FeedID id)
-
user
public CloudUser user(java.lang.String userID)
-
analytics
public CloudAnalyticsClient analytics()
-
collections
public CloudCollectionsClient collections()
-
reactions
public CloudReactionsClient reactions()
-
files
public CloudFileStorageClient files()
-
images
public CloudImageStorageClient images()
-
-