Class JerseyClientFactory.CloseableClient
java.lang.Object
au.net.causal.shoelaces.jerseyclient.JerseyClientFactory.CloseableClient
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing interface:
- JerseyClientFactory
public static class JerseyClientFactory.CloseableClient
extends java.lang.Object
implements java.lang.AutoCloseable
Wrapper for clients that makes them easy to use with try-with-resources.
-
Constructor Summary
Constructors Constructor Description CloseableClient(javax.ws.rs.client.Client client) -
Method Summary
-
Constructor Details
-
CloseableClient
public CloseableClient(javax.ws.rs.client.Client client)
-
-
Method Details