@Path(value="/seed") public class SeedResource extends AbstractResource
configManager, jobManager, server
Constructor and Description |
---|
SeedResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createSeedFile(SeedList seedList)
Method creates seed list file and returns temporary directory path
|
javax.ws.rs.core.Response |
getSeedLists()
Gets the list of seedFiles already created
|
throwBadRequestException
@GET @Path(value="/") @Produces(value="application/json") public javax.ws.rs.core.Response getSeedLists()
@POST @Path(value="/create") @Consumes(value="application/json") @Produces(value="text/plain") public javax.ws.rs.core.Response createSeedFile(SeedList seedList)
seedList
- Copyright © 2021 The Apache Software Foundation