Class RestLinksProviderImpl

java.lang.Object
io.quarkus.resteasy.reactive.links.runtime.RestLinksProviderImpl
All Implemented Interfaces:
RestLinksProvider

final class RestLinksProviderImpl extends Object implements RestLinksProvider
  • Constructor Details

    • RestLinksProviderImpl

      RestLinksProviderImpl(jakarta.ws.rs.core.UriInfo uriInfo)
  • Method Details

    • setLinksContainer

      static void setLinksContainer(LinksContainer context)
    • setGetterAccessorsContainer

      static void setGetterAccessorsContainer(GetterAccessorsContainer getterAccessorsContainer)
    • getTypeLinks

      public Collection<jakarta.ws.rs.core.Link> getTypeLinks(Class<?> elementType)
      Specified by:
      getTypeLinks in interface RestLinksProvider
      Parameters:
      elementType - The resource type.
      Returns:
      the web links associated with the element type.
    • getInstanceLinks

      public <T> Collection<jakarta.ws.rs.core.Link> getInstanceLinks(T instance)
      Specified by:
      getInstanceLinks in interface RestLinksProvider
      Type Parameters:
      T - the resource generic type.
      Parameters:
      instance - the resource instance.
      Returns:
      the web links associated with the instance.