Class WebTargetClientHelper

    • Method Detail

      • withClient

        public static WebTargetClientHelper withClient​(javax.ws.rs.client.Client client)
        Create a new instance with the given Client.
        Parameters:
        client - the Client to use when building requests
        Returns:
        a new instance
      • target

        public WebTargetHelper target​(String uri)
        Build a new web resource target.
        Parameters:
        uri - web resource URI. May contain template parameters. Must not be null
        Returns:
        a WebTargetHelper with the target bound to the provided URI
        See Also:
        Client.target(String)
      • target

        public WebTargetHelper target​(URI uri)
        Build a new web resource target.
        Parameters:
        uri - web resource URI. Must not be null.
        Returns:
        a WebTargetHelper with the target bound to the provided URI.
        See Also:
        Client.target(URI)
      • target

        public WebTargetHelper target​(javax.ws.rs.core.UriBuilder uriBuilder)
        Build a new web resource target.
        Parameters:
        uriBuilder - web resource URI represented as URI builder. Must not be null.
        Returns:
        a WebTargetHelper with the target bound to the provided URI.
      • target

        public WebTargetHelper target​(javax.ws.rs.core.Link link)
        Build a new web resource target.
        Parameters:
        link - link to a web resource. Must not be null.
        Returns:
        a WebTargetHelper with the target bound to the linked web resource