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