Skip to content

Prepare fluent API for REST client #15

@romanstrobl

Description

@romanstrobl

Currently there are many methods available for slightly different versions of HTTP method calls.

Let's prepare a fluent API, which will allow calling the client like this:
get(path).queryParam(q).headers(h).execute()
get(path).nonBlocking().execute(onSuccess, onFailure)
post(path).body(request).responseType(type).execute()

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions