uri-template

URI Template

License

License

GroupId

GroupId

no.arktekk
ArtifactId

ArtifactId

uri-template_2.9.2
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

uri-template
URI Template
Project URL

Project URL

http://github.com/arktekk/uri-template
Project Organization

Project Organization

no.arktekk
Source Code Management

Source Code Management

https://github.com/arktekk/uri-template

Download uri-template_2.9.2

How to add to project

<!-- https://jarcasting.com/artifacts/no.arktekk/uri-template_2.9.2/ -->
<dependency>
    <groupId>no.arktekk</groupId>
    <artifactId>uri-template_2.9.2</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/no.arktekk/uri-template_2.9.2/
implementation 'no.arktekk:uri-template_2.9.2:1.0.1'
// https://jarcasting.com/artifacts/no.arktekk/uri-template_2.9.2/
implementation ("no.arktekk:uri-template_2.9.2:1.0.1")
'no.arktekk:uri-template_2.9.2:jar:1.0.1'
<dependency org="no.arktekk" name="uri-template_2.9.2" rev="1.0.1">
  <artifact name="uri-template_2.9.2" type="jar" />
</dependency>
@Grapes(
@Grab(group='no.arktekk', module='uri-template_2.9.2', version='1.0.1')
)
libraryDependencies += "no.arktekk" % "uri-template_2.9.2" % "1.0.1"
[no.arktekk/uri-template_2.9.2 "1.0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.9.2

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.9.2 jar 1.9.1

Project Modules

There are no modules declared in this project.

URI Template

Complete implementation of RFC-6570 (uri-templates) in Scala

Apache 2 Licenced

Example of usage (see the tests for more)

import uritemplate._
import Syntax._

val template = URITemplate("http://example.com/hello/{variable}")
val expanded = template expand ("variable" := "world")

expanded == "http://example.com/hello/world"

Dependencies

SBT:

libraryDependencies += "no.arktekk" %% "uri-template" % "1.1"

Maven:

<dependency>
  <groupId>no.arktekk</groupId>
  <artifactId>uri-template_${scalaVersion}</artifactId>
  <version>1.1</version>
</dependency>
no.arktekk

Arktekk

Versions

Version
1.0.1