@Loggable(prepend=true, value=1, trim=false) @Path(value="/v1/catalog") @Singleton public class PropertyServlet extends BeGenericServlet
servletRequest
gson
Constructor and Description |
---|
PropertyServlet() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createProperty(String resourceId,
String data,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
deleteProperty(String resourceId,
String propertyId,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
getProperty(String resourceId,
String propertyId,
javax.servlet.http.HttpServletRequest request,
String userId) |
javax.ws.rs.core.Response |
updateProperty(String resourceId,
String propertyId,
String data,
javax.servlet.http.HttpServletRequest request,
String userId) |
buildErrorResponse, buildOkResponse, buildOkResponse, getArtifactBL, getBusinessLogic, getComponentBL, getComponentCleanerBL, getComponentInstanceBL, getComponentsUtils, getContentDispositionValue, getElementBL, getElementDao, getGroupBL, getMonitoringBL, getProductBL, getResourceBL, getServiceBL, getUserAdminManager, initHeaderParam
@POST @Path(value="resources/{resourceId}/properties") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response createProperty(@PathParam(value="resourceId") String resourceId, String data, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@GET @Path(value="resources/{resourceId}/properties/{propertyId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getProperty(@PathParam(value="resourceId") String resourceId, @PathParam(value="propertyId") String propertyId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@DELETE @Path(value="resources/{resourceId}/properties/{propertyId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response deleteProperty(@PathParam(value="resourceId") String resourceId, @PathParam(value="propertyId") String propertyId, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
@PUT @Path(value="resources/{resourceId}/properties/{propertyId}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response updateProperty(@PathParam(value="resourceId") String resourceId, @PathParam(value="propertyId") String propertyId, String data, @Context javax.servlet.http.HttpServletRequest request, @HeaderParam(value="USER_ID") String userId)
Copyright © 2017. All rights reserved.