larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/ResponseBody.java
public static ResponseBody create(final @Nullable MediaType contentType,
                                    final long contentLength, final BufferedSource content) {
    if (content == null) throw new NullPointerException("source == null");
    return new ResponseBody() {
      @Override public @Nullable
      MediaType contentType() {
        return contentType;
      }

      @Override public long contentLength() {
        return contentLength;
      }

      @Override public BufferedSource source() {
        return content;
      }
    };
  }
/** Returns a new response body that transmits {@code content}. */
Returns a new response body that transmits  content.
Returns a new response body that transmits content .
public static ResponseBody create(final @Nullable MediaType contentType,
                                    final long contentLength, final BufferedSource content) {
    if (content == null) throw new NullPointerException("source == null");
    return new ResponseBody() {
      @Override public @Nullable
      MediaType contentType() {
        return contentType;
      }
      @Override public long contentLength() {
        return contentLength;
      }
      @Override public BufferedSource source() {
        return content;
      }
    };
  }
public static ResponseBody create ( final @ Nullable MediaType contentType , final long contentLength , final BufferedSource content ) { if ( content == null ) throw new NullPointerException ( "source == null" ) ; return new ResponseBody ( ) { @ Override public @ Nullable MediaType contentType ( ) { return contentType ; } @ Override public long contentLength ( ) { return contentLength ; } @ Override public BufferedSource source ( ) { return content ; } } ; }
Returns a new response body that transmits {@code content}.
Returns a new response body that transmits { @code content } .