@Override public R cacheControl(CacheControl cacheControl) { ObjectUtils.argumentNotNull(cacheControl, "CacheControl must be not null"); cacheControl.asHeader().ifPresent(c -> header(HttpHeaders.CACHE_CONTROL, c)); return getActualDefinition(); }
@Override public R cacheControl(CacheControl cacheControl) { ObjectUtils.argumentNotNull(cacheControl, "CacheControl must be not null"); cacheControl.asHeader().ifPresent(c -> header(HttpHeaders.CACHE_CONTROL, c)); return getActualDefinition(); }