Class OkHttpExtension

java.lang.Object
io.freefair.gradle.plugins.okhttp.OkHttpExtension

public abstract class OkHttpExtension extends Object
  • Constructor Details

    • OkHttpExtension

      public OkHttpExtension()
  • Method Details

    • getLoggingLevel

      public abstract Property<okhttp3.logging.HttpLoggingInterceptor.Level> getLoggingLevel()
    • getCacheSize

      public abstract Property<Integer> getCacheSize()
      Size in bytes for the internal HTTP cache. Setting this to 0 disables the cache.
    • getForceCache

      public abstract Property<Boolean> getForceCache()
    • getForceNetwork

      public abstract Property<Boolean> getForceNetwork()