gwt-jackson :: REST :: API

gwt-jackson-rest is a GWT REST client that uses gwt-jackson as serializer/deserializer mechanism

License

License

Categories

Categories

GWT (Google Web Toolkit) User Interface Web Frameworks Jackson Data JSON
GroupId

GroupId

com.github.nmorel.gwtjackson
ArtifactId

ArtifactId

gwt-jackson-rest-api
Last Version

Last Version

0.5.1
Release Date

Release Date

Type

Type

jar
Description

Description

gwt-jackson :: REST :: API
gwt-jackson-rest is a GWT REST client that uses gwt-jackson as serializer/deserializer mechanism

Download gwt-jackson-rest-api

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.nmorel.gwtjackson/gwt-jackson-rest-api/ -->
<dependency>
    <groupId>com.github.nmorel.gwtjackson</groupId>
    <artifactId>gwt-jackson-rest-api</artifactId>
    <version>0.5.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.nmorel.gwtjackson/gwt-jackson-rest-api/
implementation 'com.github.nmorel.gwtjackson:gwt-jackson-rest-api:0.5.1'
// https://jarcasting.com/artifacts/com.github.nmorel.gwtjackson/gwt-jackson-rest-api/
implementation ("com.github.nmorel.gwtjackson:gwt-jackson-rest-api:0.5.1")
'com.github.nmorel.gwtjackson:gwt-jackson-rest-api:jar:0.5.1'
<dependency org="com.github.nmorel.gwtjackson" name="gwt-jackson-rest-api" rev="0.5.1">
  <artifact name="gwt-jackson-rest-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.nmorel.gwtjackson', module='gwt-jackson-rest-api', version='0.5.1')
)
libraryDependencies += "com.github.nmorel.gwtjackson" % "gwt-jackson-rest-api" % "0.5.1"
[com.github.nmorel.gwtjackson/gwt-jackson-rest-api "0.5.1"]

Dependencies

compile (3)

Group / Artifact Type Version
com.google.gwt : gwt-user jar 2.7.0
com.github.nmorel.gwtjackson : gwt-jackson jar 0.10.0
javax.ws.rs : javax.ws.rs-api jar 2.0.1

Project Modules

There are no modules declared in this project.

gwt-jackson-rest

gwt-jackson-rest is a simple GWT REST client using gwt-jackson. It includes an api and an annotation processor which generates an helper class to easily send REST request to an annotated REST service.

Quick start

Add <inherits name="com.github.nmorel.gwtjackson.rest.GwtJacksonRest" /> to your module descriptor XML file.

Then annotate your REST service with the annotation GenRestBuilder. An helper class will be generated in the same package by default. You can specify your package by passing the option package to the annotation processor.

Check the example.

With Maven

<dependency>
  <groupId>com.github.nmorel.gwtjackson</groupId>
  <artifactId>gwt-jackson-rest-processor</artifactId>
  <version>0.5.1</version>
  <scope>provided</scope>
</dependency>

You can also get maven snapshots using the following repository :

<repository>
  <id>oss-sonatype-snapshots</id>
  <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
</repository>

Copyright and license

Copyright 2015 Nicolas Morel under the Apache 2.0 license.

Versions

Version
0.5.1
0.5.0
0.4.1
0.4.0
0.3.1
0.3.0
0.2.1
0.2.0
0.1.0