Package io.getstream.client
Class Client
- java.lang.Object
-
- io.getstream.client.Client
-
public final class Client extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Client.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregatedFeed
aggregatedFeed(FeedID id)
AggregatedFeed
aggregatedFeed(java.lang.String slug, java.lang.String userID)
AnalyticsClient
analytics()
BatchClient
batch()
static Client.Builder
builder(java.lang.String apiKey, java.lang.String secret)
CollectionsClient
collections()
FileStorageClient
files()
FlatFeed
flatFeed(FeedID id)
FlatFeed
flatFeed(java.lang.String slug, java.lang.String userID)
Token
frontendToken(java.lang.String userID)
Token
frontendToken(java.lang.String userID, java.util.Date expiresAt)
<T> T
getHTTPClientImplementation()
ImageStorageClient
images()
NotificationFeed
notificationFeed(FeedID id)
NotificationFeed
notificationFeed(java.lang.String slug, java.lang.String userID)
java8.util.concurrent.CompletableFuture<OGData>
openGraph(java.net.URL url)
PersonalizationClient
personalization()
ReactionsClient
reactions()
java8.util.concurrent.CompletableFuture<java.util.List<Activity>>
updateActivitiesByForeignID(ActivityUpdate... updates)
java8.util.concurrent.CompletableFuture<java.util.List<Activity>>
updateActivitiesByForeignID(java.lang.Iterable<ActivityUpdate> updates)
java8.util.concurrent.CompletableFuture<java.util.List<Activity>>
updateActivitiesByID(ActivityUpdate... updates)
java8.util.concurrent.CompletableFuture<java.util.List<Activity>>
updateActivitiesByID(java.lang.Iterable<ActivityUpdate> updates)
java8.util.concurrent.CompletableFuture<Activity>
updateActivityByForeignID(ActivityUpdate update)
java8.util.concurrent.CompletableFuture<Activity>
updateActivityByForeignID(ForeignIDTimePair foreignIDTimePair, java.util.Map<java.lang.String,java.lang.Object> set, java.lang.Iterable<java.lang.String> unset)
java8.util.concurrent.CompletableFuture<Activity>
updateActivityByForeignID(ForeignIDTimePair foreignIDTimePair, java.util.Map<java.lang.String,java.lang.Object> set, java.lang.String[] unset)
java8.util.concurrent.CompletableFuture<Activity>
updateActivityByForeignID(java.lang.String foreignID, java.util.Date timestamp, java.util.Map<java.lang.String,java.lang.Object> set, java.lang.Iterable<java.lang.String> unset)
java8.util.concurrent.CompletableFuture<Activity>
updateActivityByForeignID(java.lang.String foreignID, java.util.Date timestamp, java.util.Map<java.lang.String,java.lang.Object> set, java.lang.String[] unset)
java8.util.concurrent.CompletableFuture<Activity>
updateActivityByID(ActivityUpdate update)
java8.util.concurrent.CompletableFuture<Activity>
updateActivityByID(java.lang.String id, java.util.Map<java.lang.String,java.lang.Object> set, java.lang.Iterable<java.lang.String> unset)
java8.util.concurrent.CompletableFuture<Activity>
updateActivityByID(java.lang.String id, java.util.Map<java.lang.String,java.lang.Object> set, java.lang.String[] unset)
User
user(java.lang.String userID)
-
-
-
Method Detail
-
builder
public static Client.Builder builder(java.lang.String apiKey, java.lang.String secret)
-
updateActivityByID
public java8.util.concurrent.CompletableFuture<Activity> updateActivityByID(java.lang.String id, java.util.Map<java.lang.String,java.lang.Object> set, java.lang.Iterable<java.lang.String> unset) throws StreamException
- Throws:
StreamException
-
updateActivityByID
public java8.util.concurrent.CompletableFuture<Activity> updateActivityByID(ActivityUpdate update) throws StreamException
- Throws:
StreamException
-
updateActivityByID
public java8.util.concurrent.CompletableFuture<Activity> updateActivityByID(java.lang.String id, java.util.Map<java.lang.String,java.lang.Object> set, java.lang.String[] unset) throws StreamException
- Throws:
StreamException
-
updateActivityByForeignID
public java8.util.concurrent.CompletableFuture<Activity> updateActivityByForeignID(ForeignIDTimePair foreignIDTimePair, java.util.Map<java.lang.String,java.lang.Object> set, java.lang.Iterable<java.lang.String> unset) throws StreamException
- Throws:
StreamException
-
updateActivityByForeignID
public java8.util.concurrent.CompletableFuture<Activity> updateActivityByForeignID(ForeignIDTimePair foreignIDTimePair, java.util.Map<java.lang.String,java.lang.Object> set, java.lang.String[] unset) throws StreamException
- Throws:
StreamException
-
updateActivityByForeignID
public java8.util.concurrent.CompletableFuture<Activity> updateActivityByForeignID(java.lang.String foreignID, java.util.Date timestamp, java.util.Map<java.lang.String,java.lang.Object> set, java.lang.Iterable<java.lang.String> unset) throws StreamException
- Throws:
StreamException
-
updateActivityByForeignID
public java8.util.concurrent.CompletableFuture<Activity> updateActivityByForeignID(ActivityUpdate update) throws StreamException
- Throws:
StreamException
-
updateActivityByForeignID
public java8.util.concurrent.CompletableFuture<Activity> updateActivityByForeignID(java.lang.String foreignID, java.util.Date timestamp, java.util.Map<java.lang.String,java.lang.Object> set, java.lang.String[] unset) throws StreamException
- Throws:
StreamException
-
openGraph
public java8.util.concurrent.CompletableFuture<OGData> openGraph(java.net.URL url) throws StreamException
- Throws:
StreamException
-
updateActivitiesByID
public java8.util.concurrent.CompletableFuture<java.util.List<Activity>> updateActivitiesByID(java.lang.Iterable<ActivityUpdate> updates) throws StreamException
- Throws:
StreamException
-
updateActivitiesByID
public java8.util.concurrent.CompletableFuture<java.util.List<Activity>> updateActivitiesByID(ActivityUpdate... updates) throws StreamException
- Throws:
StreamException
-
updateActivitiesByForeignID
public java8.util.concurrent.CompletableFuture<java.util.List<Activity>> updateActivitiesByForeignID(java.lang.Iterable<ActivityUpdate> updates) throws StreamException
- Throws:
StreamException
-
updateActivitiesByForeignID
public java8.util.concurrent.CompletableFuture<java.util.List<Activity>> updateActivitiesByForeignID(ActivityUpdate... updates) throws StreamException
- Throws:
StreamException
-
getHTTPClientImplementation
public <T> T getHTTPClientImplementation()
-
frontendToken
public Token frontendToken(java.lang.String userID)
-
frontendToken
public Token frontendToken(java.lang.String userID, java.util.Date expiresAt)
-
flatFeed
public FlatFeed flatFeed(java.lang.String slug, java.lang.String userID)
-
aggregatedFeed
public AggregatedFeed aggregatedFeed(FeedID id)
-
aggregatedFeed
public AggregatedFeed aggregatedFeed(java.lang.String slug, java.lang.String userID)
-
notificationFeed
public NotificationFeed notificationFeed(FeedID id)
-
notificationFeed
public NotificationFeed notificationFeed(java.lang.String slug, java.lang.String userID)
-
user
public User user(java.lang.String userID)
-
batch
public BatchClient batch()
-
collections
public CollectionsClient collections()
-
personalization
public PersonalizationClient personalization()
-
analytics
public AnalyticsClient analytics()
-
reactions
public ReactionsClient reactions()
-
files
public FileStorageClient files()
-
images
public ImageStorageClient images()
-
-