public class ShareClientImpl extends java.lang.Object implements ShareClient
Constructor and Description |
---|
ShareClientImpl(SymAuth symAuth,
SymphonyClientConfig config)
Init
|
ShareClientImpl(SymAuth symAuth,
SymphonyClientConfig config,
javax.ws.rs.client.Client httpClient)
If you need to override HttpClient.
|
Modifier and Type | Method and Description |
---|---|
void |
shareArticle(java.lang.String streamId,
SymShareArticle article) |
public ShareClientImpl(SymAuth symAuth, SymphonyClientConfig config)
symAuth
- Authorization model containing session and key tokensconfig
- Symphony Client Configpublic ShareClientImpl(SymAuth symAuth, SymphonyClientConfig config, javax.ws.rs.client.Client httpClient)
symAuth
- Authorization model containing session and key tokensconfig
- Symphony client confighttpClient
- Custom HTTP clientpublic void shareArticle(java.lang.String streamId, SymShareArticle article) throws ShareException
shareArticle
in interface ShareClient
ShareException