Class SlowMotionResource
java.lang.Object
com.atlassian.crowd.plugins.testkit.rest.slomo.SlowMotionResource
@Consumes("application/json")
@Produces("application/json")
@Path("/slomo")
public class SlowMotionResource
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Constructor Summary
ConstructorDescriptionSlowMotionResource
(com.atlassian.crowd.plugins.testkit.rest.slomo.SlowMotion slowMotion) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
create
(SlowMotionResource.PatternRepresentation representation) javax.ws.rs.core.Response
deletePatttern
(int id) javax.ws.rs.core.Response
get()
javax.ws.rs.core.Response
get
(int delay) javax.ws.rs.core.Response
javax.ws.rs.core.Response
getPattern
(int id) javax.ws.rs.core.Response
static javax.ws.rs.core.CacheControl
never()
javax.ws.rs.core.Response
update
(int id, SlowMotionResource.PatternRepresentation representation)
-
Constructor Details
-
SlowMotionResource
public SlowMotionResource(com.atlassian.crowd.plugins.testkit.rest.slomo.SlowMotion slowMotion)
-
-
Method Details
-
get
@GET @Path("/default") public javax.ws.rs.core.Response get() -
get
@POST @Path("/default") public javax.ws.rs.core.Response get(int delay) -
update
@POST @Path("/pattern/{id}") public javax.ws.rs.core.Response update(@PathParam("id") int id, SlowMotionResource.PatternRepresentation representation) -
deletePatttern
@DELETE @Path("/pattern/{id}") public javax.ws.rs.core.Response deletePatttern(@PathParam("id") int id) -
create
@PUT @Path("/pattern") public javax.ws.rs.core.Response create(SlowMotionResource.PatternRepresentation representation) -
getPattern
@GET @Path("/pattern/{id}") public javax.ws.rs.core.Response getPattern(@PathParam("id") int id) -
getPatterns
@GET @Path("/pattern") public javax.ws.rs.core.Response getPatterns() -
getConfig
@GET public javax.ws.rs.core.Response getConfig() -
never
public static javax.ws.rs.core.CacheControl never()
-