Class CogConfiguration
- Object
-
- CogConfiguration
-
- All Implemented Interfaces:
SourceSPIProviderFactory
public class CogConfiguration extends Object implements SourceSPIProviderFactory
Bean containing all COG related configuration properties
-
-
Constructor Summary
Constructors Constructor Description CogConfiguration()
CogConfiguration(CogConfiguration that)
CogConfiguration(Indexer indexer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicAuthURI
createUri(String source)
Create aBasicAuthURI
instance on top of the provided source String optionally embedding (when provided) user/pass credentials as UserInfo component of the underlying URI.String
getPassword()
String
getRangeReader()
SourceSPIProvider
getSourceSPIProvider(Object sourceUrl)
String
getUser()
boolean
isUseCache()
void
setPassword(String password)
void
setRangeReader(String rangeReader)
void
setUseCache(boolean useCache)
void
setUser(String user)
-
-
-
Constructor Detail
-
CogConfiguration
public CogConfiguration()
-
CogConfiguration
public CogConfiguration(CogConfiguration that)
-
CogConfiguration
public CogConfiguration(Indexer indexer)
-
-
Method Detail
-
getUser
public String getUser()
-
setUser
public void setUser(String user)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
getRangeReader
public String getRangeReader()
-
setRangeReader
public void setRangeReader(String rangeReader)
-
isUseCache
public boolean isUseCache()
-
setUseCache
public void setUseCache(boolean useCache)
-
createUri
public BasicAuthURI createUri(String source)
Create aBasicAuthURI
instance on top of the provided source String optionally embedding (when provided) user/pass credentials as UserInfo component of the underlying URI.
-
getSourceSPIProvider
public SourceSPIProvider getSourceSPIProvider(Object sourceUrl)
- Specified by:
getSourceSPIProvider
in interfaceSourceSPIProviderFactory
-
-