larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/RequestBody.java
public static RequestBody create(
          final @Nullable MediaType contentType, final ByteString content) {
    return new RequestBody() {
      @Override public @Nullable
      MediaType contentType() {
        return contentType;
      }

      @Override public long contentLength() throws IOException {
        return content.size();
      }

      @Override public void writeTo(BufferedSink sink) throws IOException {
        sink.write(content);
      }
    };
  }
/** Returns a new request body that transmits {@code content}. */
Returns a new request body that transmits  content.
Returns a new request body that transmits content .
public static RequestBody create(
          final @Nullable MediaType contentType, final ByteString content) {
    return new RequestBody() {
      @Override public @Nullable
      MediaType contentType() {
        return contentType;
      }
      @Override public long contentLength() throws IOException {
        return content.size();
      }
      @Override public void writeTo(BufferedSink sink) throws IOException {
        sink.write(content);
      }
    };
  }
public static RequestBody create ( final @ Nullable MediaType contentType , final ByteString content ) { return new RequestBody ( ) { @ Override public @ Nullable MediaType contentType ( ) { return contentType ; } @ Override public long contentLength ( ) throws IOException { return content . size ( ) ; } @ Override public void writeTo ( BufferedSink sink ) throws IOException { sink . write ( content ) ; } } ; }
Returns a new request body that transmits {@code content}.
Returns a new request body that transmits { @code content } .