A B C D E F G H N P Q S U 

A

addActivity(BaseFeed, T) - Method in class client.repo.StreamActivityRepository
 
addActivity(BaseFeed, T) - Method in class client.repo.StreamRepositoryImpl
 
addAuthentication(BaseFeed, String, Request.Builder) - Static method in class client.repo.utils.StreamRepoUtils
Generate the authentication header.
addSignatureToRecipients(String, BaseActivity) - Static method in class client.repo.utils.SignatureUtils
Sign all the recipients in the activity.
apply(UriBuilder, FeedFilter) - Static method in class client.repo.utils.FeedFilterUtils
Apply the filter on the given URI.

B

Base64 - Class in client.repo.utils
 
build() - Method in class client.repo.utils.UriBuilder
Build the final URI.

C

calculateHMAC(String, String) - Static method in class client.repo.utils.SignatureUtils
Calculate HMAC.
client - package client
 
client.repo - package client.repo
 
client.repo.handlers - package client.repo.handlers
 
client.repo.utils - package client.repo.utils
 
createFeedSignature(BaseFeed, String) - Static method in class client.repo.utils.StreamRepoUtils
Generate the signature for a feed.
createFeedToken(BaseFeed, String) - Static method in class client.repo.utils.StreamRepoUtils
Generate the token for a feed.
CRLF - Static variable in class client.repo.utils.Base64
Encoder flag bit to indicate lines should be terminated with a CRLF pair instead of just an LF.

D

decode(String, int) - Static method in class client.repo.utils.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
decode(byte[], int) - Static method in class client.repo.utils.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
decode(byte[], int, int, int) - Static method in class client.repo.utils.Base64
Decode the Base64-encoded data in input and return the data in a new byte array.
DEFAULT - Static variable in class client.repo.utils.Base64
Default values for encoder/decoder flags.
deleteActivityByForeignId(BaseFeed, String) - Method in class client.repo.StreamActivityRepository
 
deleteActivityByForeignId(BaseFeed, String) - Method in class client.repo.StreamRepositoryImpl
 
deleteActivityById(BaseFeed, String) - Method in class client.repo.StreamActivityRepository
 
deleteActivityById(BaseFeed, String) - Method in class client.repo.StreamRepositoryImpl
 

E

encode(byte[], int) - Static method in class client.repo.utils.Base64
Base64-encode the given data and return a newly allocated byte[] with the result.
encode(byte[], int, int, int) - Static method in class client.repo.utils.Base64
Base64-encode the given data and return a newly allocated byte[] with the result.
encodeToString(byte[], int) - Static method in class client.repo.utils.Base64
Base64-encode the given data and return a newly allocated String with the result.
encodeToString(byte[], int, int, int) - Static method in class client.repo.utils.Base64
Base64-encode the given data and return a newly allocated String with the result.

F

FeedFilterUtils - Class in client.repo.utils
 
follow(BaseFeed, String) - Method in class client.repo.StreamRepositoryImpl
 
fromEndpoint(String) - Static method in class client.repo.utils.UriBuilder
Create UriBuilder starting from a given string.
fromEndpoint(URI) - Static method in class client.repo.utils.UriBuilder
Create UriBuilder starting from a given URI.

G

getActivities(BaseFeed, Class<T>, FeedFilter) - Method in class client.repo.StreamActivityRepository
 
getActivities(BaseFeed, Class<T>, FeedFilter) - Method in class client.repo.StreamRepositoryImpl
 
getAggregatedActivities(BaseFeed, Class<T>, FeedFilter) - Method in class client.repo.StreamActivityRepository
 
getAggregatedActivities(BaseFeed, Class<T>, FeedFilter) - Method in class client.repo.StreamRepositoryImpl
 
getFeedFactory() - Method in class client.StreamClientImpl
 
getFollowers(BaseFeed, FeedFilter) - Method in class client.repo.StreamRepositoryImpl
 
getFollowing(BaseFeed, FeedFilter) - Method in class client.repo.StreamRepositoryImpl
 
getNotificationActivities(BaseFeed, Class<T>, FeedFilter) - Method in class client.repo.StreamActivityRepository
 
getNotificationActivities(BaseFeed, Class<T>, FeedFilter, boolean, boolean) - Method in class client.repo.StreamActivityRepository
 
getNotificationActivities(BaseFeed, Class<T>, FeedFilter, MarkedActivity, MarkedActivity) - Method in class client.repo.StreamActivityRepository
 
getNotificationActivities(BaseFeed, Class<T>, FeedFilter) - Method in class client.repo.StreamRepositoryImpl
 
getNotificationActivities(BaseFeed, Class<T>, FeedFilter, boolean, boolean) - Method in class client.repo.StreamRepositoryImpl
 
getNotificationActivities(BaseFeed, Class<T>, FeedFilter, MarkedActivity, MarkedActivity) - Method in class client.repo.StreamRepositoryImpl
 
getObjectMapper() - Static method in class client.repo.StreamRepositoryImpl
 
getToken(BaseFeed) - Method in class client.repo.StreamRepositoryImpl
 

H

handleResponseCode(Response) - Method in class client.repo.handlers.StreamExceptionHandler
Translate http status code to Java Exception.

N

newFeed(String, String) - Method in class client.StreamClientImpl
 
newInstance(ClientConfiguration, AuthenticationHandlerConfiguration) - Method in class client.repo.StreamRepoFactoryImpl
 
NO_CLOSE - Static variable in class client.repo.utils.Base64
Flag to pass to Base64OutputStream to indicate that it should not close the output stream it is wrapping when it itself is closed.
NO_PADDING - Static variable in class client.repo.utils.Base64
Encoder flag bit to omit the padding '=' characters at the end of the output (if any).
NO_WRAP - Static variable in class client.repo.utils.Base64
Encoder flag bit to omit all line terminators (i.e., the output will be on one long line).

P

path(String) - Method in class client.repo.utils.UriBuilder
Add a path component to the URI.

Q

queryParam(String, String) - Method in class client.repo.utils.UriBuilder
Add a query param (e.g: ?param=key)
queryParam(String, Integer) - Method in class client.repo.utils.UriBuilder
Add a query param (e.g: ?param=key)
queryParam(String, Long) - Method in class client.repo.utils.UriBuilder
Add a query param (e.g: ?param=key)

S

setFeedFactory(FeedFactory) - Method in class client.StreamClientImpl
 
shutdown() - Method in class client.repo.StreamRepositoryImpl
 
shutdown() - Method in class client.StreamClientImpl
 
SignatureUtils - Class in client.repo.utils
Utility class to handle signatures in Stream.io.
StreamActivityRepository - Class in client.repo
 
StreamActivityRepository(ObjectMapper, URI, String, StreamExceptionHandler, OkHttpClient, String) - Constructor for class client.repo.StreamActivityRepository
 
StreamClientImpl - Class in client
 
StreamClientImpl(ClientConfiguration, String, String) - Constructor for class client.StreamClientImpl
 
StreamExceptionHandler - Class in client.repo.handlers
It provides a mechanism to translate the http status code (different from 200) in a proper java Exception.
StreamExceptionHandler(ObjectMapper) - Constructor for class client.repo.handlers.StreamExceptionHandler
Create the object using the ObjectMapper to deserialize the json response coming from remote side.
StreamRepoFactoryImpl - Class in client.repo
Create a new StreamRepository using the ApacheHttpClient.
StreamRepoFactoryImpl() - Constructor for class client.repo.StreamRepoFactoryImpl
 
StreamRepositoryImpl - Class in client.repo
Actual implementation of the Stream's REST API calls.
StreamRepositoryImpl(ClientConfiguration, OkHttpClient) - Constructor for class client.repo.StreamRepositoryImpl
Create a new StreamRepository using the given configuration ClientConfiguration and a pre-instantiated HttpClient OkHttpClient.
StreamRepoUtils - Class in client.repo.utils
Support utils for StreamRepository.

U

unfollow(BaseFeed, String) - Method in class client.repo.StreamRepositoryImpl
 
UriBuilder - Class in client.repo.utils
It helps to compose paths with and/or without attributes using a fluid pattern.
URL_SAFE - Static variable in class client.repo.utils.Base64
Encoder/decoder flag bit to indicate using the "URL and filename safe" variant of Base64 (see RFC 3548 section 4) where - and _ are used in place of + and /.
UTF_8 - Static variable in class client.repo.utils.SignatureUtils
 
A B C D E F G H N P Q S U 

Copyright © 2015. All rights reserved.