@Path(value="/api/content/maven/{type: (hosted|group|remote)}/{name}")
public class MavenContentAccessResource
extends Object
implements org.commonjava.indy.core.bind.jaxrs.PackageContentAccessResource
| Constructor and Description |
|---|
MavenContentAccessResource() |
MavenContentAccessResource(org.commonjava.indy.core.bind.jaxrs.ContentAccessHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
doCreate(String type,
String name,
String path,
javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
doDelete(String type,
String name,
String path,
Boolean cacheOnly) |
javax.ws.rs.core.Response |
doGet(String type,
String name,
String path,
javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
doGet(String type,
String name,
javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
doHead(String type,
String name,
String path,
Boolean cacheOnly,
javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest request) |
public MavenContentAccessResource()
public MavenContentAccessResource(org.commonjava.indy.core.bind.jaxrs.ContentAccessHandler handler)
@PUT
@Path(value="/{path: (.+)?}")
public javax.ws.rs.core.Response doCreate(@PathParam(value="type")
String type,
@PathParam(value="name")
String name,
@PathParam(value="path")
String path,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest request)
doCreate in interface org.commonjava.indy.core.bind.jaxrs.PackageContentAccessResource@DELETE
@Path(value="/{path: (.*)}")
public javax.ws.rs.core.Response doDelete(@PathParam(value="type")
String type,
@PathParam(value="name")
String name,
@PathParam(value="path")
String path,
@QueryParam(value="cache-only")
Boolean cacheOnly)
doDelete in interface org.commonjava.indy.core.bind.jaxrs.PackageContentAccessResource@HEAD
@Path(value="/{path: (.*)}")
public javax.ws.rs.core.Response doHead(@PathParam(value="type")
String type,
@PathParam(value="name")
String name,
@PathParam(value="path")
String path,
@QueryParam(value="cache-only")
Boolean cacheOnly,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest request)
doHead in interface org.commonjava.indy.core.bind.jaxrs.PackageContentAccessResource@GET
@Path(value="/{path: (.*)}")
public javax.ws.rs.core.Response doGet(@PathParam(value="type")
String type,
@PathParam(value="name")
String name,
@PathParam(value="path")
String path,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest request)
doGet in interface org.commonjava.indy.core.bind.jaxrs.PackageContentAccessResource@GET
@Path(value="/")
public javax.ws.rs.core.Response doGet(@PathParam(value="type")
String type,
@PathParam(value="name")
String name,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest request)
doGet in interface org.commonjava.indy.core.bind.jaxrs.PackageContentAccessResourceCopyright © 2011-2020-2022. All Rights Reserved.