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