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

box / box-java-sdk-gen / #549

15 Sep 2025 01:34PM UTC coverage: 36.587% (+0.03%) from 36.559%
#549

Pull #447

github

web-flow
Merge 1db8d3e87 into 58a40fe53
Pull Request #447: feat: Add proxy support (box/box-codegen#822)

9 of 71 new or added lines in 4 files covered. (12.68%)

3 existing lines in 1 file now uncovered.

18376 of 50226 relevant lines covered (36.59%)

0.37 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/proxyconfig/ProxyConfig.java
1
package com.box.sdkgen.networking.proxyconfig;
2

3
public class ProxyConfig {
4

5
  public final String url;
6

7
  public String username;
8

9
  public String password;
10

NEW
11
  public ProxyConfig(String url) {
×
NEW
12
    this.url = url;
×
NEW
13
  }
×
14

NEW
15
  protected ProxyConfig(Builder builder) {
×
NEW
16
    this.url = builder.url;
×
NEW
17
    this.username = builder.username;
×
NEW
18
    this.password = builder.password;
×
NEW
19
  }
×
20

21
  public String getUrl() {
NEW
22
    return url;
×
23
  }
24

25
  public String getUsername() {
NEW
26
    return username;
×
27
  }
28

29
  public String getPassword() {
NEW
30
    return password;
×
31
  }
32

33
  public static class Builder {
34

35
    protected final String url;
36

37
    protected String username;
38

39
    protected String password;
40

NEW
41
    public Builder(String url) {
×
NEW
42
      this.url = url;
×
NEW
43
    }
×
44

45
    public Builder username(String username) {
NEW
46
      this.username = username;
×
NEW
47
      return this;
×
48
    }
49

50
    public Builder password(String password) {
NEW
51
      this.password = password;
×
NEW
52
      return this;
×
53
    }
54

55
    public ProxyConfig build() {
NEW
56
      return new ProxyConfig(this);
×
57
    }
58
  }
59
}
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

© 2025 Coveralls, Inc