class RestFilterConfiguration {

    @Bean
    @ConditionalOnMissingBean
    public ContainerRequestFilterContainer containerRequestFilters(List<ContainerRequestFilter> containerRequestFilters) {

        for (ContainerRequestFilter filter : containerRequestFilters) {
            JAXRSProviderManager.registerCustomProviderInstance(filter);
        }
        return new ContainerRequestFilterContainer(containerRequestFilters);
    }

    @Bean
    @ConditionalOnMissingBean
    public ContainerResponseFilterContainer containerResponseFilters(List<ContainerResponseFilter> containerResponseFilters) {
        for (ContainerResponseFilter filter : containerResponseFilters) {
            JAXRSProviderManager.registerCustomProviderInstance(filter);
        }
        return new ContainerResponseFilterContainer(containerResponseFilters);
    }

    @Bean
    @ConditionalOnMissingBean
    public ClientRequestFilterContainer clientRequestFilters(List<ClientRequestFilter> clientRequestFilters) {<FILL_FUNCTION_BODY>}

    @Bean
    @ConditionalOnMissingBean
    public ClientResponseFilterContainer clientResponseFilters(List<ClientResponseFilter> clientResponseFilters) {

        for (ClientResponseFilter filter : clientResponseFilters) {
            JAXRSProviderManager.registerCustomProviderInstance(filter);
        }
        return new ClientResponseFilterContainer(clientResponseFilters);
    }

    static class ContainerResponseFilterContainer {
        private List<ContainerResponseFilter> containerResponseFilters;

        public ContainerResponseFilterContainer(List<ContainerResponseFilter> containerResponseFilters) {
            this.containerResponseFilters = containerResponseFilters;
        }
    }

    static class ContainerRequestFilterContainer {
        private List<ContainerRequestFilter> containerRequestFilters;

        public ContainerRequestFilterContainer(List<ContainerRequestFilter> containerRequestFilters) {
            this.containerRequestFilters = containerRequestFilters;
        }
    }

    static class ClientRequestFilterContainer {
        private List<ClientRequestFilter> clientRequestFilters;

        public ClientRequestFilterContainer(List<ClientRequestFilter> clientRequestFilters) {
            this.clientRequestFilters = clientRequestFilters;
        }
    }

    static class ClientResponseFilterContainer {
        private List<ClientResponseFilter> clientResponseFilters;

        public ClientResponseFilterContainer(List<ClientResponseFilter> clientResponseFilters) {
            this.clientResponseFilters = clientResponseFilters;
        }
    }

}

        for (ClientRequestFilter filter : clientRequestFilters) {
            JAXRSProviderManager.registerCustomProviderInstance(filter);
        }
        return new ClientRequestFilterContainer(clientRequestFilters);
    
<no_super_class>