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

box / box-java-sdk / #6290

18 Feb 2026 05:39PM UTC coverage: 12.815% (-0.01%) from 12.826%
#6290

Pull #1731

github

web-flow
Merge fc613b174 into 1d958b3d4
Pull Request #1731: feat(boxsdkgen): Add customizable timeouts for SDKs (box/box-codegen#924)

0 of 57 new or added lines in 4 files covered. (0.0%)

8 existing lines in 1 file now uncovered.

8368 of 65301 relevant lines covered (12.81%)

0.13 hits per line

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

0.0
/src/main/java/com/box/sdkgen/networking/timeoutconfig/TimeoutConfig.java
1
package com.box.sdkgen.networking.timeoutconfig;
2

3
public class TimeoutConfig {
4

5
  public Long connectionTimeoutMs;
6

7
  public Long readTimeoutMs;
8

NEW
9
  public TimeoutConfig() {}
×
10

NEW
11
  protected TimeoutConfig(Builder builder) {
×
NEW
12
    this.connectionTimeoutMs = builder.connectionTimeoutMs;
×
NEW
13
    this.readTimeoutMs = builder.readTimeoutMs;
×
NEW
14
  }
×
15

16
  public Long getConnectionTimeoutMs() {
NEW
17
    return connectionTimeoutMs;
×
18
  }
19

20
  public Long getReadTimeoutMs() {
NEW
21
    return readTimeoutMs;
×
22
  }
23

NEW
24
  public static class Builder {
×
25

26
    protected Long connectionTimeoutMs;
27

28
    protected Long readTimeoutMs;
29

30
    public Builder connectionTimeoutMs(Long connectionTimeoutMs) {
NEW
31
      this.connectionTimeoutMs = connectionTimeoutMs;
×
NEW
32
      return this;
×
33
    }
34

35
    public Builder readTimeoutMs(Long readTimeoutMs) {
NEW
36
      this.readTimeoutMs = readTimeoutMs;
×
NEW
37
      return this;
×
38
    }
39

40
    public TimeoutConfig build() {
NEW
41
      return new TimeoutConfig(this);
×
42
    }
43
  }
44
}
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