public abstract class OkHttpTask extends DefaultTask
OkHttpClient.Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
OkHttpTask() |
| Modifier and Type | Method and Description |
|---|---|
protected okhttp3.OkHttpClient |
buildOkHttpClient() |
abstract DirectoryProperty |
getCacheDir() |
abstract Property<Integer> |
getCacheSize() |
abstract Property<Boolean> |
getForceCache() |
abstract Property<Boolean> |
getForceNetwork() |
abstract 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, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotTrackState, getConvention, notCompatibleWithConfigurationCache@Console public abstract Property<okhttp3.logging.HttpLoggingInterceptor.Level> getLoggingLevel()
@Internal public abstract DirectoryProperty getCacheDir()
protected okhttp3.OkHttpClient getOkHttpClient()
protected okhttp3.OkHttpClient buildOkHttpClient()