public class CacheSecurityAwareClientPropertiesBuilder
extends com.sdl.odata.client.ClientPropertiesBuilder
| Constructor and Description |
|---|
CacheSecurityAwareClientPropertiesBuilder() |
CacheSecurityAwareClientPropertiesBuilder(Map<String,String> configValues) |
| Modifier and Type | Method and Description |
|---|---|
CacheSecurityAwareClientPropertiesBuilder |
withCacheExpirationDuration(Long cacheExpirationTime)
Specify the expiration time for cache entries (in seconds).
|
CacheSecurityAwareClientPropertiesBuilder |
withCaching(boolean cacheEnabled)
Specifies whether client caching is enabled (or not).
|
CacheSecurityAwareClientPropertiesBuilder |
withCachingUri(String cacheUri)
Specifies location of cache configuration.
|
CacheSecurityAwareClientPropertiesBuilder |
withClientId(String clientId)
Specify the oauth client id for security credentials.
|
CacheSecurityAwareClientPropertiesBuilder |
withClientSecret(String clientSecret)
Specify the oauth client id for security credentials.
|
CacheSecurityAwareClientPropertiesBuilder |
withClientTimeout(Integer timeout)
Specify a timeout period for the client (in milliseconds).
|
CacheSecurityAwareClientPropertiesBuilder |
withProxyHostName(String proxyHostName)
If a proxy is used to access the OData web service this specifies it's host name / ip address.
|
CacheSecurityAwareClientPropertiesBuilder |
withProxyPort(Integer proxyPortNumber)
If a proxy is used to access the OData web service this specifies it's port number.
|
CacheSecurityAwareClientPropertiesBuilder |
withServiceUri(String serviceUri)
Specify the OData web service URI, e.g.
|
public CacheSecurityAwareClientPropertiesBuilder()
public CacheSecurityAwareClientPropertiesBuilder withCaching(boolean cacheEnabled)
cacheEnabled - if true caching is enabledpublic CacheSecurityAwareClientPropertiesBuilder withCachingUri(String cacheUri)
cacheUri - path to cache configuration.public CacheSecurityAwareClientPropertiesBuilder withCacheExpirationDuration(Long cacheExpirationTime)
cacheExpirationTime - the cache expiration time (in seconds).public CacheSecurityAwareClientPropertiesBuilder withClientId(String clientId)
clientId - client idpublic CacheSecurityAwareClientPropertiesBuilder withClientSecret(String clientSecret)
clientSecret - clientSecretpublic CacheSecurityAwareClientPropertiesBuilder withServiceUri(String serviceUri)
withServiceUri in class com.sdl.odata.client.ClientPropertiesBuilderserviceUri - the OData web service URIpublic CacheSecurityAwareClientPropertiesBuilder withClientTimeout(Integer timeout)
withClientTimeout in class com.sdl.odata.client.ClientPropertiesBuildertimeout - the client timeout period (in milliseconds)public CacheSecurityAwareClientPropertiesBuilder withProxyHostName(String proxyHostName)
withProxyHostName in class com.sdl.odata.client.ClientPropertiesBuilderproxyHostName - the proxy port numberpublic CacheSecurityAwareClientPropertiesBuilder withProxyPort(Integer proxyPortNumber)
withProxyPort in class com.sdl.odata.client.ClientPropertiesBuilderproxyPortNumber - the proxy port numberCopyright © 2017 SDL Group. All rights reserved.