com.websudos.reactiveneo

client

package client

Visibility
  1. Public
  2. All

Type Members

  1. case class ClientConfiguration(server: String, port: Int, defaultTimeout: FiniteDuration) extends Product with Serializable

  2. class CommitTransaction extends RestEndpoint

  3. class ContinueInTransaction extends RestEndpoint

  4. class CypherResultParser[R] extends JsonParser[Seq[R]]

    Base class implementing skeleton for paring the result.

    Base class implementing skeleton for paring the result.

    { "results":[{ "columns":["a","b"], "data":[ { "row":[{"name":"Michael"},{"something"}] } ] }], "errors":[] }

  5. class DummyParser extends ResultParser[HttpResponse]

    Dummy parser used when no parsing is required.

  6. case class ErrorMessage(code: String, msg: String) extends Product with Serializable

  7. class InvalidResponseException extends Exception

  8. abstract class JsonParser[R] extends ResultParser[R]

    Parser abstraction to used to parse JSON format of HttpResult content.

    Parser abstraction to used to parse JSON format of HttpResult content. To use this base class implementation of a reads method needs to be provided.

  9. class JsonValidationException extends Exception

    Exception indicating a problem when decoding resulting object value from JSON tree.

  10. class RestCall[RT] extends ServerCall[Seq[RT]] with LazyLogging

    Model of a call to Neo4j server.

    Model of a call to Neo4j server.

    RT

    Type of result call response.

  11. class RestClient extends StrictLogging

    REST client implementation based on Finagle RPC.

  12. class RestClientException extends Exception

    Exception related to communication error.

  13. class RestConnection extends AnyRef

    Service that prepares and executes rest call

  14. case class RestEndpoint(path: String, method: HttpMethod = HttpMethod.POST) extends Product with Serializable

    REST API endpoints definitions.

    REST API endpoints definitions.

    path

    Server query path.

    method

    HTTP method, with POST as default.

  15. trait ResultParser[+R] extends AnyRef

    Result parser is used to parse REST response object to a meaningful business object.

    Result parser is used to parse REST response object to a meaningful business object.

    R

    type of resulting object.

  16. class RollbackTransaction extends RestEndpoint

  17. trait ServerCall[RT] extends AnyRef

    Abstraction of communication with a server.

    Abstraction of communication with a server.

    RT

    type of server response

Value Members

  1. object BeginTransaction extends RestEndpoint

  2. object RestCall

  3. object RestClient

  4. object RestConnection

  5. object SingleTransaction extends RestEndpoint

Ungrouped