uri-template

URI Template

License

License

GroupId

GroupId

no.arktekk
ArtifactId

ArtifactId

uri-template_2.13
Last Version

Last Version

1.1.0
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.13

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.4
org.scala-lang.modules : scala-parser-combinators_2.13 jar 1.1.2

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.13 jar 3.2.3

Project Modules

There are no modules declared in this project.

URI Template

Build and Test Maven Central

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.0"

Maven:

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

Arktekk

Versions

Version
1.1.0