org.apache.nutch.api.resources

## Class AbstractResource

- java.lang.Object
- - org.apache.nutch.api.resources.AbstractResource

- Direct Known Subclasses:
    AdminResource, ConfigResource, DbResource, JobResource, SeedResource

      public abstract class AbstractResource
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected ConfManager` | `configManager`
    `protected JobManager` | `jobManager`
    `protected NutchServer` | `server`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractResource()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `throwBadRequestException(String message)`

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

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

- - ### Field Detail

    - #### configManager

          protected ConfManager configManager

    - #### jobManager

          protected JobManager jobManager

    - #### server

          protected NutchServer server

  - ### Constructor Detail

    - #### AbstractResource

          public AbstractResource()

  - ### Method Detail

    - #### throwBadRequestException

          protected void throwBadRequestException(String message)

Copyright © 2015 The Apache Software Foundation