Interface JerseyClientFactory
-
public interface JerseyClientFactoryCreates pre-configured JAX-RS clients. A bean of this type is made available for injection.Customizing Jersey clients that this factory produces can be done by making beans of type
JerseyClientConfigurerandJerseyClientBuilderConfigurer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classJerseyClientFactory.CloseableClientWrapper for clients that makes them easy to use with try-with-resources.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JerseyClientFactory.CloseableClientnewClient()
-
-
-
Method Detail
-
newClient
JerseyClientFactory.CloseableClient newClient()
- Returns:
- a JAX-RS client wrapped in an autocloseable wrapper.
-
-