public abstract class AbstractDataClient extends Object implements DataClient
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
_logger |
| Constructor and Description |
|---|
AbstractDataClient() |
| Modifier and Type | Method and Description |
|---|---|
String |
getData(Token token)
Send an authenticated request with the access token to retreive data
|
String |
getDataServerUri() |
String |
getName()
Returns the Name
|
String |
getRedirectUri()
Returns the RedirectUri
|
Set |
getScope()
Returns the Scope
|
String |
getScopes()
Build a string that contains the list of scope separated by a plus
|
String |
getTokenMethod() |
void |
setDataServerUri(String strDataServerUri) |
void |
setName(String strName)
Sets the Name
|
void |
setRedirectUri(String strRedirectUri)
Sets the RedirectUri
|
void |
setScope(Set scope)
Sets the Scope
|
void |
setTokenMethod(String strTokenMethod) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleTokenpublic String getName()
getName in interface DataClientpublic void setName(String strName)
setName in interface DataClientstrName - The Namepublic Set getScope()
getScope in interface DataClientpublic void setScope(Set scope)
setScope in interface DataClientscope - The Scopepublic String getRedirectUri()
getRedirectUri in interface DataClientpublic void setRedirectUri(String strRedirectUri)
setRedirectUri in interface DataClientstrRedirectUri - The RedirectUripublic String getScopes()
getScopes in interface DataClientpublic String getDataServerUri()
getDataServerUri in interface DataClientpublic void setDataServerUri(String strDataServerUri)
setDataServerUri in interface DataClientstrDataServerUri - the DataServerUri to setpublic String getTokenMethod()
getTokenMethod in interface DataClientpublic void setTokenMethod(String strTokenMethod)
setTokenMethod in interface DataClientstrTokenMethod - the TokenMethod to setCopyright © 2015 City of Paris. All rights reserved.