Annotation Type EnableJaxRsWebClient


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Import(JaxRsWebClientConfiguration.class)
    public @interface EnableJaxRsWebClient
    Allows autowiring of @WebClient. JAX-RS providers (annotated with @Provider) and marked as Spring Components are added to WebClient. The providers which are not marked as Spring Components can also be optionally auto-discovered. WebClient can also be configured with optional headers such as Accept and Content-Type and made thread-safe.