Shuteye

Sane, zero-dependency library for building REST clients

License

License

Categories

Categories

Net
GroupId

GroupId

net.ethx.shuteye
ArtifactId

ArtifactId

shuteye-pom
Last Version

Last Version

0.3.0
Release Date

Release Date

Type

Type

pom
Description

Description

Shuteye
Sane, zero-dependency library for building REST clients
Project URL

Project URL

https://github.com/stevebarham/shuteye
Source Code Management

Source Code Management

https://github.com/stevebarham/shuteye

Download shuteye-pom

Filename Size
shuteye-pom-0.3.0.pom 6 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/net.ethx.shuteye/shuteye-pom/ -->
<dependency>
    <groupId>net.ethx.shuteye</groupId>
    <artifactId>shuteye-pom</artifactId>
    <version>0.3.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/net.ethx.shuteye/shuteye-pom/
implementation 'net.ethx.shuteye:shuteye-pom:0.3.0'
// https://jarcasting.com/artifacts/net.ethx.shuteye/shuteye-pom/
implementation ("net.ethx.shuteye:shuteye-pom:0.3.0")
'net.ethx.shuteye:shuteye-pom:pom:0.3.0'
<dependency org="net.ethx.shuteye" name="shuteye-pom" rev="0.3.0">
  <artifact name="shuteye-pom" type="pom" />
</dependency>
@Grapes(
@Grab(group='net.ethx.shuteye', module='shuteye-pom', version='0.3.0')
)
libraryDependencies += "net.ethx.shuteye" % "shuteye-pom" % "0.3.0"
[net.ethx.shuteye/shuteye-pom "0.3.0"]

Dependencies

test (6)

Group / Artifact Type Version
junit : junit jar 4.11
net.iharder : base64 jar 2.3.8
io.github.lukehutch : fast-classpath-scanner jar 1.2.3
com.google.guava : guava jar 18.0
com.fasterxml.jackson.core : jackson-databind jar 2.5.2
net.jpountz.lz4 : lz4 jar 1.3.0

Project Modules

  • shuteye
  • examples

Shuteye

Like JdbcTemplate, but for HTTP, with no runtime dependencies

Shuteye is a library to build RESTful API clients. It has no dependencies other than the JRE. It implements RFC 6570 for URI template construction, and provides a fluent API to execute HTTP requests.

No dependency tree hell, no version conflicts, no spooky side effects. Just clean, fast, simple code.

Build Status

Installation

Add the following Maven dependency to use Shuteye:

<dependency>
    <groupId>net.ethx.shuteye</groupId>
    <artifactId>shuteye</artifactId>
    <version>0.3.0</version>
</dependency>

Tests

Shuteye has excellent code coverage. URI templates are tested via the uritemplate-test test project. HTTP template testing uses httpbin.

To run the tests, check out the project, and run the Maven test goal:

mvn clean test

Contributors

Steve Barham ([email protected])

License

Apache 2.0

Versions

Version
0.3.0
0.2.1