Registry / networking / handy-uri-templates

handy-uri-templates

JSON →
library2.1.8javamavenunverified

A RFC6570 compliant URI template processor with a fluent API for expanding templatized URIs.

<dependency> <groupId>com.damnhandy</groupId> <artifactId>handy-uri-templates</artifactId> <version>2.1.8</version> </dependency>
INSTALL
IMPORT
SIG · HANDY-URI-TEMPLATE
H
handy-uri-templates
networkingjavav2.1.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

UriTemplate
com.damnhandy.uri.templates.UriTemplate

Expand a URI template with a variable

import com.damnhandy.uri.templates.UriTemplate; public class Example { public static void main(String[] args) { UriTemplate template = UriTemplate.fromTemplate("http://example.com/{path}"); String uri = template.set("path", "resource").expand(); System.out.println(uri); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.8latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Amazon
1
Resources
handy-uri-templates — mvn dependency:get handy-uri-templates · libregistry