All Implemented Interfaces:
Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, Named, ExtensionAware, Task, Configurable<Task>
Direct Known Subclasses:
UploadFile

public abstract class HttpPut extends OkHttpRequestTask
  • Constructor Details

    • HttpPut

      public HttpPut()
  • Method Details

    • getContentType

      @Input @Optional public abstract Property<String> getContentType()
    • buildRequest

      public okhttp3.Request.Builder buildRequest(okhttp3.Request.Builder builder)
      Overrides:
      buildRequest in class OkHttpRequestTask
    • getRequestBody

      public abstract okhttp3.RequestBody getRequestBody(@Nullable okhttp3.MediaType contentType)