org.apache.nutch.service.resources

## Class ServicesResource

- java.lang.Object
- - org.apache.nutch.service.resources.ServicesResource

-     @Path(value="/services")
      public class ServicesResource
      extends java.lang.Object

  The services resource defines an endpoint to enable the user to carry out Nutch jobs like dump, commoncrawldump, etc.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServicesResource()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | `commoncrawlDump(ServiceConfig serviceConfig)`
    `javax.ws.rs.core.Response` | `listDumpPaths(java.lang.String crawlId)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ServicesResource

          public ServicesResource()

  - ### Method Detail

    - #### listDumpPaths

          @GET
           @Path(value="/commoncrawldump/{crawlId}")
          public javax.ws.rs.core.Response listDumpPaths(@PathParam(value="crawlId")
                                                                                                         java.lang.String crawlId)

    - #### commoncrawlDump

          @POST
           @Path(value="/commoncrawldump")
          public javax.ws.rs.core.Response commoncrawlDump(ServiceConfig serviceConfig)

Copyright © 2019 The Apache Software Foundation