public abstract class OkHttpTask
extends org.gradle.api.DefaultTask
OkHttpClient.| Constructor and Description |
|---|
OkHttpTask() |
| Modifier and Type | Method and Description |
|---|---|
protected okhttp3.OkHttpClient |
buildOkHttpClient() |
abstract org.gradle.api.file.DirectoryProperty |
getCacheDir() |
abstract org.gradle.api.provider.Property<Integer> |
getCacheSize() |
abstract org.gradle.api.provider.Property<Boolean> |
getForceCache() |
abstract org.gradle.api.provider.Property<Boolean> |
getForceNetwork() |
abstract org.gradle.api.provider.Property<okhttp3.logging.HttpLoggingInterceptor.Level> |
getLoggingLevel() |
protected okhttp3.OkHttpClient |
getOkHttpClient() |
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceacceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects@Console public abstract org.gradle.api.provider.Property<okhttp3.logging.HttpLoggingInterceptor.Level> getLoggingLevel()
@Internal public abstract org.gradle.api.file.DirectoryProperty getCacheDir()
@Input @Optional public abstract org.gradle.api.provider.Property<Integer> getCacheSize()
@Input @Optional public abstract org.gradle.api.provider.Property<Boolean> getForceCache()
@Input @Optional public abstract org.gradle.api.provider.Property<Boolean> getForceNetwork()
protected okhttp3.OkHttpClient getOkHttpClient()
protected okhttp3.OkHttpClient buildOkHttpClient()