public class PersonRequestSDK extends PersonRequestClientFactory
| Modifier and Type | Class and Description |
|---|---|
static interface |
PersonRequestSDK.PersonRequestClient
Client interface for the person request resource APIs.
|
| Constructor and Description |
|---|
PersonRequestSDK(String serviceUrl)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PersonRequestClientImpl |
create() |
protected com.covisint.platform.oauth.client.token.sdk.AuthConfigurationProvider |
getAuthConfigProvider()
Method responsible for returning a
AuthConfigurationProvider. |
PersonRequestSDK.PersonRequestClient |
newClient()
Creates a new person request client.
|
protected com.covisint.core.support.httpclient.HttpClientBuilder |
populateHttpClientBuilder(com.covisint.core.support.httpclient.HttpClientBuilder builder) |
PersonRequestSDK |
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 PersonRequestSDK(@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<PersonRequestClientBuilder,PersonRequestClientImpl>public PersonRequestSDK setAuthConfigProvider(@Nonnull com.covisint.platform.oauth.client.token.sdk.AuthConfigurationProvider provider)
provider - The AuthConfigurationProvider to set.public PersonRequestClientImpl create()
create in class com.covisint.core.http.service.client.BaseResourceClientFactory<PersonRequestClientBuilder,PersonRequestClientImpl>@Nonnull public PersonRequestSDK.PersonRequestClient newClient()
Copyright © 2015 Covisint. All rights reserved.