Class LinkBuilderImpl

java.lang.Object
org.jboss.resteasy.specimpl.LinkBuilderImpl
All Implemented Interfaces:
jakarta.ws.rs.core.Link.Builder

public class LinkBuilderImpl extends Object implements jakarta.ws.rs.core.Link.Builder
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • map

      protected final Map<String,String> map
      A map for all the link parameters such as "rel", "type", etc.
    • uriBuilder

      protected jakarta.ws.rs.core.UriBuilder uriBuilder
    • baseUri

      protected URI baseUri
  • Constructor Details

    • LinkBuilderImpl

      public LinkBuilderImpl()
  • Method Details

    • link

      public jakarta.ws.rs.core.Link.Builder link(jakarta.ws.rs.core.Link link)
      Specified by:
      link in interface jakarta.ws.rs.core.Link.Builder
    • link

      public jakarta.ws.rs.core.Link.Builder link(String link)
      Specified by:
      link in interface jakarta.ws.rs.core.Link.Builder
    • uriBuilder

      public jakarta.ws.rs.core.Link.Builder uriBuilder(jakarta.ws.rs.core.UriBuilder uriBuilder)
      Specified by:
      uriBuilder in interface jakarta.ws.rs.core.Link.Builder
    • uri

      public jakarta.ws.rs.core.Link.Builder uri(URI uri)
      Specified by:
      uri in interface jakarta.ws.rs.core.Link.Builder
    • uri

      public jakarta.ws.rs.core.Link.Builder uri(String uri) throws IllegalArgumentException
      Specified by:
      uri in interface jakarta.ws.rs.core.Link.Builder
      Throws:
      IllegalArgumentException
    • rel

      public jakarta.ws.rs.core.Link.Builder rel(String rel)
      Specified by:
      rel in interface jakarta.ws.rs.core.Link.Builder
    • title

      public jakarta.ws.rs.core.Link.Builder title(String title)
      Specified by:
      title in interface jakarta.ws.rs.core.Link.Builder
    • type

      public jakarta.ws.rs.core.Link.Builder type(String type)
      Specified by:
      type in interface jakarta.ws.rs.core.Link.Builder
    • param

      public jakarta.ws.rs.core.Link.Builder param(String name, String value) throws IllegalArgumentException
      Specified by:
      param in interface jakarta.ws.rs.core.Link.Builder
      Throws:
      IllegalArgumentException
    • build

      public jakarta.ws.rs.core.Link build(Object... values) throws jakarta.ws.rs.core.UriBuilderException
      Specified by:
      build in interface jakarta.ws.rs.core.Link.Builder
      Throws:
      jakarta.ws.rs.core.UriBuilderException
    • buildRelativized

      public jakarta.ws.rs.core.Link buildRelativized(URI uri, Object... values)
      Specified by:
      buildRelativized in interface jakarta.ws.rs.core.Link.Builder
    • baseUri

      public jakarta.ws.rs.core.Link.Builder baseUri(URI uri)
      Specified by:
      baseUri in interface jakarta.ws.rs.core.Link.Builder
    • baseUri

      public jakarta.ws.rs.core.Link.Builder baseUri(String uri)
      Specified by:
      baseUri in interface jakarta.ws.rs.core.Link.Builder