Class AutoCloseableClient
- java.lang.Object
-
- dev.aherscu.qa.testing.utils.rest.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 givenClient
providing anAutoCloseable
interface atop.- Author:
- aherscu
-
-
Constructor Summary
Constructors Constructor Description AutoCloseableClient(jakarta.ws.rs.client.Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
jakarta.ws.rs.core.Configuration
getConfiguration()
HostnameVerifier
getHostnameVerifier()
SSLContext
getSslContext()
jakarta.ws.rs.client.Invocation.Builder
invocation(jakarta.ws.rs.core.Link arg0)
jakarta.ws.rs.client.Client
property(String arg0, Object arg1)
jakarta.ws.rs.client.Client
register(Class<?> arg0)
jakarta.ws.rs.client.Client
register(Class<?> arg0, int arg1)
jakarta.ws.rs.client.Client
register(Class<?> arg0, Class<?>... arg1)
jakarta.ws.rs.client.Client
register(Class<?> arg0, Map<Class<?>,Integer> arg1)
jakarta.ws.rs.client.Client
register(Object arg0)
jakarta.ws.rs.client.Client
register(Object arg0, int arg1)
jakarta.ws.rs.client.Client
register(Object arg0, Class<?>... arg1)
jakarta.ws.rs.client.Client
register(Object arg0, Map<Class<?>,Integer> arg1)
jakarta.ws.rs.client.WebTarget
target(jakarta.ws.rs.core.Link arg0)
jakarta.ws.rs.client.WebTarget
target(jakarta.ws.rs.core.UriBuilder arg0)
jakarta.ws.rs.client.WebTarget
target(String arg0)
jakarta.ws.rs.client.WebTarget
target(URI arg0)
-
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfacejakarta.ws.rs.client.Client
-
target
public jakarta.ws.rs.client.WebTarget target(String arg0)
- Specified by:
target
in interfacejakarta.ws.rs.client.Client
-
target
public jakarta.ws.rs.client.WebTarget target(URI arg0)
- Specified by:
target
in interfacejakarta.ws.rs.client.Client
-
target
public jakarta.ws.rs.client.WebTarget target(jakarta.ws.rs.core.UriBuilder arg0)
- Specified by:
target
in interfacejakarta.ws.rs.client.Client
-
target
public jakarta.ws.rs.client.WebTarget target(jakarta.ws.rs.core.Link arg0)
- Specified by:
target
in interfacejakarta.ws.rs.client.Client
-
invocation
public jakarta.ws.rs.client.Invocation.Builder invocation(jakarta.ws.rs.core.Link arg0)
- Specified by:
invocation
in interfacejakarta.ws.rs.client.Client
-
getSslContext
public SSLContext getSslContext()
- Specified by:
getSslContext
in interfacejakarta.ws.rs.client.Client
-
getHostnameVerifier
public HostnameVerifier getHostnameVerifier()
- Specified by:
getHostnameVerifier
in interfacejakarta.ws.rs.client.Client
-
getConfiguration
public jakarta.ws.rs.core.Configuration getConfiguration()
- Specified by:
getConfiguration
in interfacejakarta.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 interfacejakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
-
register
public jakarta.ws.rs.client.Client register(Class<?> arg0)
- Specified by:
register
in interfacejakarta.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 interfacejakarta.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 interfacejakarta.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 interfacejakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
-
register
public jakarta.ws.rs.client.Client register(Object arg0)
- Specified by:
register
in interfacejakarta.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 interfacejakarta.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 interfacejakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
-
-