uri-template

URI Template

License

License

GroupId

GroupId

no.arktekk
ArtifactId

ArtifactId

uri-template_2.10
Last Version

Last Version

1.0.2
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.10

How to add to project

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

Dependencies

compile (1)

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

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.10 jar 2.2.2

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.2
1.0.1