Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Implementation of simple expansion of URI-templates, targeting the uri-template RFC
Java
Branch: master

Merge pull request #2 from neumayer/master

Add possibility to get the number of expressions
latest commit 4f2b20bb0b
@vlarsen vlarsen authored

README.markdown

URI Templates

This library provides easy expansion of URI templates.

It is a partial implementation of RFC 6570, found at http://code.google.com/p/uri-templates/

So far, the library only supports simple String values, and no modifiers on the variable specs.

Examples

Given the template:

http://www.google.com/{?q}

and the context q=nalle, the result will be

http://www.google.com/?q=nalle

Credits

This library is a product of the Cloudname Open Source factory.

The algorithm used is based on appendix A of the RFC.

Something went wrong with that request. Please try again.