• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

box / box-java-sdk-gen / #184

03 Jun 2025 09:42AM UTC coverage: 34.762% (-0.9%) from 35.631%
#184

Pull #326

github

web-flow
Merge b909d9ac7 into 28f2ec7f8
Pull Request #326: chore: Release Java SDK to Maven Central (box/box-codegen#735)

15770 of 45365 relevant lines covered (34.76%)

0.35 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

28.57
/src/main/java/com/box/sdkgen/managers/downloads/DownloadFileToOutputStreamHeaders.java
1
package com.box.sdkgen.managers.downloads;
2

3
import static com.box.sdkgen.internal.utils.UtilsManager.mapOf;
4

5
import java.util.Map;
6

7
public class DownloadFileToOutputStreamHeaders {
8

9
  public String range;
10

11
  public String boxapi;
12

13
  public Map<String, String> extraHeaders;
14

15
  public DownloadFileToOutputStreamHeaders() {
1✔
16
    this.extraHeaders = mapOf();
1✔
17
  }
1✔
18

19
  protected DownloadFileToOutputStreamHeaders(DownloadFileToOutputStreamHeadersBuilder builder) {
×
20
    this.range = builder.range;
×
21
    this.boxapi = builder.boxapi;
×
22
    this.extraHeaders = builder.extraHeaders;
×
23
  }
×
24

25
  public String getRange() {
26
    return range;
1✔
27
  }
28

29
  public String getBoxapi() {
30
    return boxapi;
1✔
31
  }
32

33
  public Map<String, String> getExtraHeaders() {
34
    return extraHeaders;
1✔
35
  }
36

37
  public static class DownloadFileToOutputStreamHeadersBuilder {
38

39
    protected String range;
40

41
    protected String boxapi;
42

43
    protected Map<String, String> extraHeaders;
44

45
    public DownloadFileToOutputStreamHeadersBuilder() {
×
46
      this.extraHeaders = mapOf();
×
47
    }
×
48

49
    public DownloadFileToOutputStreamHeadersBuilder range(String range) {
50
      this.range = range;
×
51
      return this;
×
52
    }
53

54
    public DownloadFileToOutputStreamHeadersBuilder boxapi(String boxapi) {
55
      this.boxapi = boxapi;
×
56
      return this;
×
57
    }
58

59
    public DownloadFileToOutputStreamHeadersBuilder extraHeaders(Map<String, String> extraHeaders) {
60
      this.extraHeaders = extraHeaders;
×
61
      return this;
×
62
    }
63

64
    public DownloadFileToOutputStreamHeaders build() {
65
      return new DownloadFileToOutputStreamHeaders(this);
×
66
    }
67
  }
68
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc