@Consumes(value="application/json") @Produces(value="application/json") @Path(value="/slomo") public class SlowMotionResource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SlowMotionResource.PatternError |
static class |
SlowMotionResource.PatternRepresentation |
static class |
SlowMotionResource.SlomoConfig |
Constructor and Description |
---|
SlowMotionResource(com.atlassian.crowd.plugins.testkit.rest.slomo.SlowMotion slowMotion) |
Modifier and Type | Method and Description |
---|---|
javax.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 |
getConfig() |
javax.ws.rs.core.Response |
getPattern(int id) |
javax.ws.rs.core.Response |
getPatterns() |
static javax.ws.rs.core.CacheControl |
never() |
javax.ws.rs.core.Response |
update(int id,
SlowMotionResource.PatternRepresentation representation) |
public SlowMotionResource(com.atlassian.crowd.plugins.testkit.rest.slomo.SlowMotion slowMotion)
@GET @Path(value="/default") public javax.ws.rs.core.Response get()
@POST @Path(value="/default") public javax.ws.rs.core.Response get(int delay)
@POST @Path(value="/pattern/{id}") public javax.ws.rs.core.Response update(@PathParam(value="id") int id, SlowMotionResource.PatternRepresentation representation)
@DELETE @Path(value="/pattern/{id}") public javax.ws.rs.core.Response deletePatttern(@PathParam(value="id") int id)
@PUT @Path(value="/pattern") public javax.ws.rs.core.Response create(SlowMotionResource.PatternRepresentation representation)
@GET @Path(value="/pattern/{id}") public javax.ws.rs.core.Response getPattern(@PathParam(value="id") int id)
@GET @Path(value="/pattern") public javax.ws.rs.core.Response getPatterns()
@GET public javax.ws.rs.core.Response getConfig()
public static javax.ws.rs.core.CacheControl never()
Copyright © 2021 Atlassian. All rights reserved.