org.qi4j.library.rest.common.link

## Class LinksUtil

- java.lang.Object
- - org.qi4j.library.rest.common.link.LinksUtil

-     public final class LinksUtil
      extends Object

  Helper methods for links

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LinksUtil()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Function<Link,String>` | `toRel()`
    `static Specification<Link>` | `withClass(String clazz)`
    `static Specification<Link>` | `withId(String id)`
    `static Link` | `withId(String id, Links links)`
    `static Specification<Link>` | `withRel(String rel)`
    `static Link` | `withRel(String rel, Links links)`
    `static Specification<Link>` | `withText(String text)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LinksUtil

          public LinksUtil()

  - ### Method Detail

    - #### withId

          public static Specification<Link> withId(String id)

    - #### withText

          public static Specification<Link> withText(String text)

    - #### withRel

          public static Specification<Link> withRel(String rel)

    - #### withClass

          public static Specification<Link> withClass(String clazz)

    - #### withRel

          public static Link withRel(String rel,
                     Links links)

    - #### withId

          public static Link withId(String id,
                    Links links)

    - #### toRel

          public static Function<Link,String> toRel()