@Named @Produces(value="application/json") @Consumes(value="application/json") @Path(value="/property") public class TestkitPropertyResource extends Object
Constructor and Description |
---|
TestkitPropertyResource(PropertyManager propertyManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
deleteProperty(String key) |
javax.ws.rs.core.Response |
getProperty(String key) |
javax.ws.rs.core.Response |
setProperty(Map<String,String> properties) |
@Inject public TestkitPropertyResource(PropertyManager propertyManager)
@GET @Path(value="/{key}") public javax.ws.rs.core.Response getProperty(@PathParam(value="key") String key) throws ObjectNotFoundException
ObjectNotFoundException
@POST public javax.ws.rs.core.Response setProperty(Map<String,String> properties) throws ObjectNotFoundException
ObjectNotFoundException
@DELETE @Path(value="/{key}") public javax.ws.rs.core.Response deleteProperty(@PathParam(value="key") String key) throws ObjectNotFoundException
ObjectNotFoundException
Copyright © 2021 Atlassian. All rights reserved.
View cookie preferences