Class SeedResource
- java.lang.Object
-
- org.apache.nutch.service.resources.AbstractResource
-
- org.apache.nutch.service.resources.SeedResource
-
@Path("/seed") public class SeedResource extends AbstractResource
-
-
Field Summary
-
Fields inherited from class org.apache.nutch.service.resources.AbstractResource
configManager, jobManager, server
-
-
Constructor Summary
Constructors Constructor Description SeedResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsecreateSeedFile(SeedList seedList)Method creates seed list file and returns temporary directory pathjavax.ws.rs.core.ResponsegetSeedLists()Gets the list of seedFiles already created-
Methods inherited from class org.apache.nutch.service.resources.AbstractResource
throwBadRequestException
-
-
-
-
Method Detail
-
getSeedLists
@GET @Path("/") @Produces("application/json") public javax.ws.rs.core.Response getSeedLists()Gets the list of seedFiles already created- Returns:
Mapof <String, SeedList>
-
-