uri-template

URI Template

License

License

GroupId

GroupId

no.arktekk
ArtifactId

ArtifactId

uri-template_2.11
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.11

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.2
org.scala-lang.modules : scala-parser-combinators_2.11 jar 1.0.2

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.11 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