org.licas.call.rest

## Class RestMessage

- java.lang.Object
- - org.licas.call.rest.RestMessage

-     public class RestMessage
      extends java.lang.Object

  This store the REST-style message to make a call with.
  Author:
    Kieran Greer.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.lang.String` | `query` The query string
    `int` | `timeOut` Call timeout in seconds
    `java.lang.String` | `uri` The endpoint uri

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RestMessage()` Create a new instance of RestMessage

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `queryString()` Convert the REST query description into a single string.

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

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

- - ### Field Detail

    - #### uri

          public java.lang.String uri

      The endpoint uri

    - #### query

          public java.lang.String query

      The query string

    - #### timeOut

          public int timeOut

      Call timeout in seconds

  - ### Constructor Detail

    - #### RestMessage

          public RestMessage()

      Create a new instance of RestMessage

  - ### Method Detail

    - #### queryString

          public java.lang.String queryString()

      Convert the REST query description into a single string. As the query can include several terms, it must already be encoded for the http protocol.
      Returns:
        a single string-based description that can be executed.