Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
/ shuteye Public archive

Sane, zero-dependency library for building REST clients

Notifications You must be signed in to change notification settings

stevebarham/shuteye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 (shuteye@ethx.net)

License

Apache 2.0

About

Sane, zero-dependency library for building REST clients

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages