JAX-RS HREF

Resource location resolver for JAX-RS.

License

License

GroupId

GroupId

org.soulwing
ArtifactId

ArtifactId

jax-rs-href
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

JAX-RS HREF
Resource location resolver for JAX-RS.
Project URL

Project URL

https://github.com/soulwing/sql-template
Source Code Management

Source Code Management

https://github.com/soulwing/jax-rs-href

Download jax-rs-href

How to add to project

<!-- https://jarcasting.com/artifacts/org.soulwing/jax-rs-href/ -->
<dependency>
    <groupId>org.soulwing</groupId>
    <artifactId>jax-rs-href</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.soulwing/jax-rs-href/
implementation 'org.soulwing:jax-rs-href:1.1.1'
// https://jarcasting.com/artifacts/org.soulwing/jax-rs-href/
implementation ("org.soulwing:jax-rs-href:1.1.1")
'org.soulwing:jax-rs-href:jar:1.1.1'
<dependency org="org.soulwing" name="jax-rs-href" rev="1.1.1">
  <artifact name="jax-rs-href" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.soulwing', module='jax-rs-href', version='1.1.1')
)
libraryDependencies += "org.soulwing" % "jax-rs-href" % "1.1.1"
[org.soulwing/jax-rs-href "1.1.1"]

Dependencies

compile (3)

Group / Artifact Type Version
javax.ws.rs : javax.ws.rs-api Optional jar 2.0.1
org.reflections : reflections jar 0.9.9
org.slf4j : slf4j-api jar 1.7.7

provided (1)

Group / Artifact Type Version
javax.servlet : javax.servlet-api Optional jar 3.1.0

test (7)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.0.13
org.glassfish.jersey.core : jersey-common jar 2.13
javax.enterprise : cdi-api jar 1.2
junit : junit jar 4.11
org.jmock : jmock-junit4 jar 2.6.0
org.hamcrest : hamcrest-core jar 1.3
org.hamcrest : hamcrest-library jar 1.3

Project Modules

There are no modules declared in this project.

jax-rs-href

A resource path resolver mechanism for JAX-RS.

A resource entity returned from a REST resource will often contain links to other resources. When a resource referenced in such a link is part of the same REST service, it desirable to derive the path to the referenced resource using the same annotations that are used to direct HTTP requests to that resource.

This module provides a simple annotation-based mechanism that allows a model builder for a resource to resolve a path to a referenced resource.

TODO: need to provide some examples of how this thing gets used.

org.soulwing

soulwing-org

Versions

Version
1.1.1
1.1.0
1.0.4
1.0.3