Interface JerseyClientFactory
public interface JerseyClientFactory
Creates 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 JerseyClientConfigurer
and JerseyClientBuilderConfigurer.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classWrapper for clients that makes them easy to use with try-with-resources. -
Method Summary
-
Method Details
-
newClient
JerseyClientFactory.CloseableClient newClient()- Returns:
- a JAX-RS client wrapped in an autocloseable wrapper.
-