Skip to content
Shape: A fluent HTTP client for GWT (and Javascript soon!)
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.travis.yml
CHANGELOG.md
README.md
pom.xml

README.md

#Shape: A fluent HTTP Client for GWT (and Javascript soon!)

This library wraps GWT RequestBuilder into a fluent API.

Shape.post("http://httpbin.org/post")
  .queryString("name", "Mark")
  .field("last", "Polo")
  .asJson()

Setup with Maven

Add dependency

<dependency>
    <groupId>com.dotweblabs.shape</groupId>
	<artifactId>shape</artifactId>
	<version>0-SNAPSHOT</version>
</dependency>

Add Bintray JCenter repository

<repositories>
    <repository>
	    <snapshots>
		    <enabled>false</enabled>
		</snapshots>
		<id>bintray-dotweblabs-maven</id>
		<name>bintray</name>
		<url>http://dl.bintray.com/dotweblabs/maven</url>
	</repository>
</repositories>
<pluginRepositories>
	<pluginRepository>
		<snapshots>
			<enabled>false</enabled>
		</snapshots>
		<id>bintray-dotweblabs-maven</id>
		<name>bintray-plugins</name>
		<url>http://dl.bintray.com/dotweblabs/maven</url>
	</pluginRepository>
</pluginRepositories>
You can’t perform that action at this time.