class VersionHeaderDecorator implements ClientRequestFilter {

    @Override
    public void filter(ClientRequestContext requestContext) throws IOException {
        ApiVersion.versions().forEach(v -> requestContext.getHeaders().add(Constants.API_VERSION_HEADER, v));
    }

}