TypedRest Vaadin

Build Vaadin GUIs using a TypedRest client

License

License

Categories

Categories

Vaadin User Interface Web Frameworks
GroupId

GroupId

com.oneandone
ArtifactId

ArtifactId

typedrest-vaadin
Last Version

Last Version

0.30
Release Date

Release Date

Type

Type

jar
Description

Description

TypedRest Vaadin
Build Vaadin GUIs using a TypedRest client

Download typedrest-vaadin

How to add to project

<!-- https://jarcasting.com/artifacts/com.oneandone/typedrest-vaadin/ -->
<dependency>
    <groupId>com.oneandone</groupId>
    <artifactId>typedrest-vaadin</artifactId>
    <version>0.30</version>
</dependency>
// https://jarcasting.com/artifacts/com.oneandone/typedrest-vaadin/
implementation 'com.oneandone:typedrest-vaadin:0.30'
// https://jarcasting.com/artifacts/com.oneandone/typedrest-vaadin/
implementation ("com.oneandone:typedrest-vaadin:0.30")
'com.oneandone:typedrest-vaadin:jar:0.30'
<dependency org="com.oneandone" name="typedrest-vaadin" rev="0.30">
  <artifact name="typedrest-vaadin" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.oneandone', module='typedrest-vaadin', version='0.30')
)
libraryDependencies += "com.oneandone" % "typedrest-vaadin" % "0.30"
[com.oneandone/typedrest-vaadin "0.30"]

Dependencies

compile (7)

Group / Artifact Type Version
com.oneandone : typedrest-core jar 0.30
com.vaadin : vaadin-server jar 7.7.0
com.vaadin : vaadin-client-compiled jar 7.7.0
com.vaadin : vaadin-themes jar 7.7.0
com.vaadin : vaadin-push jar 7.7.0
org.vaadin.addon » confirmdialog jar 2.1.3
com.google.guava : guava jar 19.0

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.16.6

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.hamcrest : hamcrest-all jar 1.3

Project Modules

There are no modules declared in this project.

TypedRest for Java

TypedRest for Java helps you build type-safe, fluent-style REST API clients. Common REST patterns such as collections are represented as classes, allowing you to write more idiomatic code.

MyClient client = new MyClient(URI.create("http://example.com/"));

// GET /contacts
List<Contact> contactList = client.getContacts().readAll();

// POST /contacts -> Location: /contacts/1337
ContactEndpoint smith = client.getContacts().create(new Contact("Smith"));
//ContactEndpoint smith = client.getContacts().get("1337");

// GET /contacts/1337
Contact contact = smith.read();

// PUT /contacts/1337/note
smith.getNote().set(new Note("some note"));

// GET /contacts/1337/note
Note note = smith.getNote().read();

// DELETE /contacts/1337
smith.delete();

Read an Introduction to TypedRest or jump right in with the Getting started guide.

For information about specific Java classes or interfaces you can read the API Documentation.

Maven artifacts

Artifact group: com.oneandone

typedrest-core
The main TypedRest library.

typedrest-annotations
Annotations for data models to be used with TypedRest.

typedrest-vaadin
Build Vaadin GUIs for TypedRest clients.

typedrest-archetype
Maven archetype (template) for creating TypedRest projects.

com.oneandone

1&1

Open Source by 1&1 Group.

Versions

Version
0.30
0.29.1
0.29
0.28.1
0.28
0.27
0.26
0.25
0.24
0.23
0.22
0.21
0.20
0.19
0.18
0.17
0.16
0.15
0.14
0.13
0.12
0.11
0.10
0.9
0.8
0.7