org.yestech.rpx
Class DefaultRPXClient
java.lang.Object
org.yestech.rpx.DefaultRPXClient
- All Implemented Interfaces:
- RPXClient
public class DefaultRPXClient
- extends Object
- implements RPXClient
- Author:
- A.J. Wright
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRPXClient
public DefaultRPXClient(String apiKey,
String realm)
authInfo
public AuthInfoResponse authInfo(String token,
boolean extended)
throws IOException,
org.json.JSONException,
RPXException
- Specified by:
authInfo in interface RPXClient
- Throws:
IOException
org.json.JSONException
RPXException
map
public RPXStat map(String identifier,
String primaryKey,
boolean overwrite)
throws IOException,
org.json.JSONException,
RPXException
- Specified by:
map in interface RPXClient
- Throws:
IOException
org.json.JSONException
RPXException
getMappings
public MappingsResponse getMappings(String primaryKey)
throws IOException,
org.json.JSONException,
RPXException
- Throws:
IOException
org.json.JSONException
RPXException
getContacts
public GetContactsResponse getContacts(String identifier)
throws org.json.JSONException,
IOException,
RPXException
- Specified by:
getContacts in interface RPXClient
- Throws:
org.json.JSONException
IOException
RPXException
buildAuthRedirect
public String buildAuthRedirect(RPXClient.Provider provider,
String tokenUrl)
throws IOException
- Specified by:
buildAuthRedirect in interface RPXClient
- Throws:
IOException
setStatus
public void setStatus(String identifier,
String status)
throws IOException,
org.json.JSONException,
RPXException
- Specified by:
setStatus in interface RPXClient
- Throws:
IOException
org.json.JSONException
RPXException
buildAuthRedirect
public String buildAuthRedirect(RPXAuthProvider provider,
String tokenUrl)
- Specified by:
buildAuthRedirect in interface RPXClient
getHttpClient
protected org.apache.commons.httpclient.HttpClient getHttpClient()
Copyright © 2010 YES Technology Association. All Rights Reserved.