1
+ < ?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5
+
6
+ < html xmlns ="http://www.w3.org/1999/xhtml " xml:lang ="en " lang ="en ">
7
+ < head >
8
+ < title > AdoptOpenJDK (Java API)</ title >
9
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge "/>
10
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 "/>
11
+ < link rel ="stylesheet " href ="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css "/>
12
+ < link rel ="stylesheet " href ="css/style.css "/>
13
+ </ head >
14
+ < body >
15
+ < div class ="container ">
16
+ < h1 > AdoptOpenJDK Java API</ h1 >
17
+ < h2 > Overview</ h2 >
18
+ < p >
19
+ The Java API provides type-safe access to the < a href ="https://api.adoptopenjdk.net "> AdoptOpenJDK REST API</ a > .
20
+ </ p >
21
+ < h2 > Get Involved</ h2 >
22
+ < p > Please file issues, complaints, feature requests, etc, on the < a href ="${project.issueManagement.url} "> Issue
23
+ Tracker</ a > .</ p >
24
+ < h2 > Usage</ h2 >
25
+ < h3 > Maven Dependencies</ h3 >
26
+ < pre > <![CDATA[< dependency >
27
+ < groupId > net.adoptopenjdk</ groupId >
28
+ < artifactId > net.adoptopenjdk.v3.api</ artifactId >
29
+ < version > ${project.version}</ version >
30
+ </ dependency >
31
+ < dependency >
32
+ < groupId > net.adoptopenjdk</ groupId >
33
+ < artifactId > net.adoptopenjdk.v3.vanilla</ artifactId >
34
+ < version > ${project.version}</ version >
35
+ </ dependency >
36
+ ]]> </ pre >
37
+ < h3 > JavaDoc</ h3 >
38
+ < p > See the < a href ="apidocs "> JavaDoc</ a > .</ p >
39
+ < h3 > Five Second Tutorial</ h3 >
40
+ < pre > <![CDATA[var clients = new AOV3Clients();
41
+ try (var client = clients.createClient()) {
42
+ var request = client.availableReleases(...);
43
+ var releases = request.execute();
44
+ }
45
+ ]]> </ pre >
46
+ </ div >
47
+ </ body >
48
+ </ html >
0 commit comments