org.qi4j.library.rest.server.api

## Class ContextRestlet

- java.lang.Object
- - org.restlet.Restlet
  - - org.qi4j.library.rest.server.api.ContextRestlet

- All Implemented Interfaces:
    org.restlet.Uniform

      public abstract class ContextRestlet
      extends org.restlet.Restlet

  JAVADOC

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Module` | `module`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ContextRestlet()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract org.restlet.Uniform` | `createRoot(org.restlet.Request request, org.restlet.Response response)`
    `void` | `handle(org.restlet.Request request, org.restlet.Response response)`
    `void` | `subResource(Class<? extends ContextResource> subResourceClass)`

    - ### Methods inherited from class org.restlet.Restlet

      `finalize, getApplication, getAuthor, getContext, getDescription, getLogger, getName, getOwner, isStarted, isStopped, setAuthor, setContext, setDescription, setName, setOwner, start, stop`

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

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

- - ### Field Detail

    - #### module

          @Structure
          protected Module module

  - ### Constructor Detail

    - #### ContextRestlet

          public ContextRestlet()

  - ### Method Detail

    - #### handle

          public void handle(org.restlet.Request request,
                    org.restlet.Response response)

      Specified by:
        `handle` in interface `org.restlet.Uniform`
      Overrides:
        `handle` in class `org.restlet.Restlet`

    - #### createRoot

          protected abstract org.restlet.Uniform createRoot(org.restlet.Request request,
                                       org.restlet.Response response)

    - #### subResource

          public void subResource(Class<? extends ContextResource> subResourceClass)