Endpoints.java
965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package retrofit;
public final class Endpoints
{
private static final String DEFAULT_NAME = "default";
public static Endpoint newFixedEndpoint(String paramString)
{
return new FixedEndpoint(paramString, "default");
}
public static Endpoint newFixedEndpoint(String paramString1, String paramString2)
{
return new FixedEndpoint(paramString1, paramString2);
}
static class FixedEndpoint
implements Endpoint
{
private final String apiUrl;
private final String name;
FixedEndpoint(String paramString1, String paramString2)
{
this.apiUrl = paramString1;
this.name = paramString2;
}
public String getName()
{
return this.name;
}
public String getUrl()
{
return this.apiUrl;
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/retrofit/Endpoints.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/