org.qi4j.library.rest.client.api

## Class HandlerCommand

- java.lang.Object
- - org.qi4j.library.rest.client.api.HandlerCommand

-     public abstract class HandlerCommand
      extends Object

  TODO

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected ResponseHandler` | `processingErrorHandler`
    `protected ResponseHandler` | `responseHandler`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `HandlerCommand()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static HandlerCommand` | `command(Link link)`
    `static HandlerCommand` | `command(Link link, Object requestObject)`
    `static HandlerCommand` | `command(String relation)`
    `static HandlerCommand` | `command(String relation, Object requestObject)`
    `static HandlerCommand` | `delete()`
    `HandlerCommand` | `onProcessingError(ResponseHandler processingErrorHandler)`
    `<T> HandlerCommand` | `onProcessingError(ResultHandler<T> resultHandler)`
    `HandlerCommand` | `onSuccess(ResponseHandler responseHandler)`
    `<T> HandlerCommand` | `onSuccess(ResultHandler<T> resultHandler)`
    `static HandlerCommand` | `query(Link relation)`
    `static HandlerCommand` | `query(String relation)`
    `static HandlerCommand` | `query(String relation, Object requestObject)`
    `static HandlerCommand` | `refresh()`

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

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

- - ### Field Detail

    - #### responseHandler

          protected ResponseHandler responseHandler

    - #### processingErrorHandler

          protected ResponseHandler processingErrorHandler

  - ### Constructor Detail

    - #### HandlerCommand

          public HandlerCommand()

  - ### Method Detail

    - #### refresh

          public static HandlerCommand refresh()

    - #### query

          public static HandlerCommand query(String relation)

    - #### query

          public static HandlerCommand query(String relation,
                             Object requestObject)

    - #### query

          public static HandlerCommand query(Link relation)

    - #### command

          public static HandlerCommand command(String relation)

    - #### command

          public static HandlerCommand command(String relation,
                               Object requestObject)

    - #### command

          public static HandlerCommand command(Link link)

    - #### command

          public static HandlerCommand command(Link link,
                               Object requestObject)

    - #### delete

          public static HandlerCommand delete()

    - #### onSuccess

          public HandlerCommand onSuccess(ResponseHandler responseHandler)

    - #### onSuccess

          public <T> HandlerCommand onSuccess(ResultHandler<T> resultHandler)

    - #### onProcessingError

          public HandlerCommand onProcessingError(ResponseHandler processingErrorHandler)

    - #### onProcessingError

          public <T> HandlerCommand onProcessingError(ResultHandler<T> resultHandler)