This repository has been archived by the owner on Oct 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from ljwolford/android
Android
- Loading branch information
Showing
32 changed files
with
1,445 additions
and
457 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package gov.adlnet.xapi.client; | ||
|
||
import gov.adlnet.xapi.model.About; | ||
|
||
import java.io.IOException; | ||
import java.net.MalformedURLException; | ||
import java.net.URL; | ||
|
||
/** | ||
* Created by lou on 6/18/15. | ||
*/ | ||
public class AboutClient extends BaseClient { | ||
|
||
public AboutClient(String uri, String username, String password) | ||
throws MalformedURLException { | ||
super(uri, username, password); | ||
} | ||
|
||
public AboutClient(URL uri, String username, String password) | ||
throws MalformedURLException { | ||
super(uri, username, password); | ||
} | ||
|
||
public About getAbout() | ||
throws IOException { | ||
String path = "/xAPI/about"; | ||
String result = issueGet(path); | ||
return getDecoder().fromJson(result, About.class); | ||
} | ||
} |
Oops, something went wrong.