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.AutoCloseableWrapper 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.client.Clientclient()voidclose()
-