@Singleton @Path(value="/") public class Resource extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Resource.RepositoryHolder |
static class |
Resource.StringUtils |
| Constructor and Description |
|---|
Resource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
latest(String groupId,
String artifactId) |
javax.ws.rs.core.Response |
ping() |
javax.ws.rs.core.Response |
resolve(javax.servlet.http.HttpServletResponse httpServletResponse,
List<String> repositories,
String groupId,
String artifactId,
String extension,
String classifier,
String versionRange,
String packaging) |
javax.ws.rs.core.Response |
tree(String groupId,
String artifactId,
String version) |
@GET @Produces(value="text/plain") public javax.ws.rs.core.Response ping()
@GET
@Path(value="/{groupId: .+}/{artifactId : .+}")
@Produces(value="text/plain")
public javax.ws.rs.core.Response latest(@PathParam(value="groupId")
String groupId,
@PathParam(value="artifactId")
String artifactId)
throws Exception
Exception@GET
@Path(value="/{groupId: .+}/{artifactId : .+}/{version : .+}")
@Produces(value="text/plain")
public javax.ws.rs.core.Response tree(@PathParam(value="groupId")
String groupId,
@PathParam(value="artifactId")
String artifactId,
@PathParam(value="version")
String version)
throws Exception
Exception@GET
@Path(value="/legacy")
@Produces(value="application/json")
public javax.ws.rs.core.Response resolve(@Context
javax.servlet.http.HttpServletResponse httpServletResponse,
@QueryParam(value="r")
List<String> repositories,
@QueryParam(value="g")
String groupId,
@QueryParam(value="a")
String artifactId,
@QueryParam(value="e")
String extension,
@QueryParam(value="c")
String classifier,
@QueryParam(value="v")
String versionRange,
@QueryParam(value="p")
String packaging)
Copyright © 2015 aequologica. All rights reserved.