@Path(value="/api/folo/track/{id}/maven/{type: (hosted|group|remote)}/{name}")
public class FoloMavenContentAccessResource
extends Object
implements org.commonjava.indy.bind.jaxrs.IndyResources
ContentAccessHandler (with EventMetadata containing the tracking ID), which records artifact accesses.| Constructor and Description |
|---|
FoloMavenContentAccessResource() |
FoloMavenContentAccessResource(org.commonjava.indy.core.bind.jaxrs.ContentAccessHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
doCreate(String id,
String type,
String name,
String path,
javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
doGet(String id,
String type,
String name,
String path,
javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
doHead(String id,
String type,
String name,
String path,
Boolean cacheOnly,
javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
public FoloMavenContentAccessResource()
public FoloMavenContentAccessResource(org.commonjava.indy.core.bind.jaxrs.ContentAccessHandler handler)
@PUT
@Path(value="/{path: (.*)}")
public javax.ws.rs.core.Response doCreate(@PathParam(value="id")
String id,
@PathParam(value="type")
String type,
@PathParam(value="name")
String name,
@PathParam(value="path")
String path,
@Context
javax.servlet.http.HttpServletRequest request,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@HEAD
@Path(value="/{path: (.*)}")
public javax.ws.rs.core.Response doHead(@PathParam(value="id")
String id,
@PathParam(value="type")
String type,
@PathParam(value="name")
String name,
@PathParam(value="path")
String path,
@QueryParam(value="cache-only")
Boolean cacheOnly,
@Context
javax.servlet.http.HttpServletRequest request,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@GET
@Path(value="/{path: (.*)}")
public javax.ws.rs.core.Response doGet(@PathParam(value="id")
String id,
@PathParam(value="type")
String type,
@PathParam(value="name")
String name,
@PathParam(value="path")
String path,
@Context
javax.servlet.http.HttpServletRequest request,
@Context
javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2011-2020-2020. All Rights Reserved.