Class AutoCloseableClient

  • All Implemented Interfaces:
    jakarta.ws.rs.client.Client, jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>, AutoCloseable

    public class AutoCloseableClient
    extends Object
    implements jakarta.ws.rs.client.Client, AutoCloseable
    Wraps a given Client providing an AutoCloseable interface atop.
    Author:
    aherscu
    • Constructor Detail

      • AutoCloseableClient

        public AutoCloseableClient​(jakarta.ws.rs.client.Client client)
        Parameters:
        client - the client to wrap
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface jakarta.ws.rs.client.Client
      • target

        public jakarta.ws.rs.client.WebTarget target​(String arg0)
        Specified by:
        target in interface jakarta.ws.rs.client.Client
      • target

        public jakarta.ws.rs.client.WebTarget target​(URI arg0)
        Specified by:
        target in interface jakarta.ws.rs.client.Client
      • target

        public jakarta.ws.rs.client.WebTarget target​(jakarta.ws.rs.core.UriBuilder arg0)
        Specified by:
        target in interface jakarta.ws.rs.client.Client
      • target

        public jakarta.ws.rs.client.WebTarget target​(jakarta.ws.rs.core.Link arg0)
        Specified by:
        target in interface jakarta.ws.rs.client.Client
      • invocation

        public jakarta.ws.rs.client.Invocation.Builder invocation​(jakarta.ws.rs.core.Link arg0)
        Specified by:
        invocation in interface jakarta.ws.rs.client.Client
      • getSslContext

        public SSLContext getSslContext()
        Specified by:
        getSslContext in interface jakarta.ws.rs.client.Client
      • getHostnameVerifier

        public HostnameVerifier getHostnameVerifier()
        Specified by:
        getHostnameVerifier in interface jakarta.ws.rs.client.Client
      • getConfiguration

        public jakarta.ws.rs.core.Configuration getConfiguration()
        Specified by:
        getConfiguration in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
      • property

        public jakarta.ws.rs.client.Client property​(String arg0,
                                                    Object arg1)
        Specified by:
        property in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
      • register

        public jakarta.ws.rs.client.Client register​(Class<?> arg0)
        Specified by:
        register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
      • register

        public jakarta.ws.rs.client.Client register​(Class<?> arg0,
                                                    int arg1)
        Specified by:
        register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
      • register

        public jakarta.ws.rs.client.Client register​(Class<?> arg0,
                                                    Class<?>... arg1)
        Specified by:
        register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
      • register

        public jakarta.ws.rs.client.Client register​(Class<?> arg0,
                                                    Map<Class<?>,​Integer> arg1)
        Specified by:
        register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
      • register

        public jakarta.ws.rs.client.Client register​(Object arg0)
        Specified by:
        register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
      • register

        public jakarta.ws.rs.client.Client register​(Object arg0,
                                                    int arg1)
        Specified by:
        register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
      • register

        public jakarta.ws.rs.client.Client register​(Object arg0,
                                                    Class<?>... arg1)
        Specified by:
        register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
      • register

        public jakarta.ws.rs.client.Client register​(Object arg0,
                                                    Map<Class<?>,​Integer> arg1)
        Specified by:
        register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>