Class CacheControlFeature

java.lang.Object
org.apache.cxf.jaxrs.client.cache.CacheControlFeature
All Implemented Interfaces:
jakarta.ws.rs.core.Feature, Closeable, AutoCloseable

@Provider public class CacheControlFeature extends Object implements jakarta.ws.rs.core.Feature, Closeable
  • Constructor Details

    • CacheControlFeature

      public CacheControlFeature()
  • Method Details

    • configure

      public boolean configure(jakarta.ws.rs.core.FeatureContext context)
      Specified by:
      configure in interface jakarta.ws.rs.core.Feature
    • close

      @PreDestroy public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • setCacheResponseInputStream

      public void setCacheResponseInputStream(boolean cacheStream)