public class PersonSDK extends PersonClientFactory
| Modifier and Type | Class and Description |
|---|---|
static interface |
PersonSDK.PersonClient
Client interface for the
Person resource APIs. |
| Constructor and Description |
|---|
PersonSDK(String serviceUrl)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PersonClientImpl |
create() |
protected com.covisint.platform.oauth.client.token.sdk.AuthConfigurationProvider |
getAuthConfigProvider()
Method responsible for returning a
AuthConfigurationProvider. |
PersonSDK.PersonClient |
newClient()
Creates a new person client.
|
protected com.covisint.core.support.httpclient.HttpClientBuilder |
populateHttpClientBuilder(com.covisint.core.support.httpclient.HttpClientBuilder builder) |
PersonSDK |
setAuthConfigProvider(com.covisint.platform.oauth.client.token.sdk.AuthConfigurationProvider provider)
Sets the auth configuration provider for this SDK to use.
|
buildResourceClient, newBuilderbuildHttpClient, getCacheSpec, getConnectionCloseAfterResponseEnabled, getConnectionTimeout, getContentCharSet, getContentCompressionEnabled, getCookiesEnabled, getFollowRedirects, getHttpProxySpec, getMaxConcurrentRequests, getMaxRedirects, getServiceBaseUrl, getSocketBufferSize, getSocketTimeout, getSourceAddress, populateBaseBuilder, setCacheSpec, setConnectionCloseAfterResponseEnabled, setConnectionOptions, setConnectionTimeout, setContentCharSet, setContentCompressionEnabled, setCookiesEnabled, setFollowRedirects, setHttpProxySpec, setMaxConcurrentRequests, setMaxRedirects, setSocketBufferSize, setSocketOptions, setSocketTimeout, setSourceAddresspublic PersonSDK(@Nonnull@NotEmpty
String serviceUrl)
serviceUrl - the service url.@Nonnull protected com.covisint.platform.oauth.client.token.sdk.AuthConfigurationProvider getAuthConfigProvider()
AuthConfigurationProvider. The default implementation lazy-loads and
returns a property file-based provider, which searches the classpath for the expected configuration file. This
method may be overridden to allow custom providers.AuthConfigurationProvider.protected com.covisint.core.support.httpclient.HttpClientBuilder populateHttpClientBuilder(@Nonnull
com.covisint.core.support.httpclient.HttpClientBuilder builder)
populateHttpClientBuilder in class com.covisint.core.http.service.client.BaseResourceClientFactory<PersonClientBuilder,PersonClientImpl>public PersonSDK setAuthConfigProvider(@Nonnull com.covisint.platform.oauth.client.token.sdk.AuthConfigurationProvider provider)
provider - The AuthConfigurationProvider to set.public PersonClientImpl create()
create in class com.covisint.core.http.service.client.BaseResourceClientFactory<PersonClientBuilder,PersonClientImpl>@Nonnull public PersonSDK.PersonClient newClient()
Copyright © 2015 Covisint. All rights reserved.