| java.lang.Object | |
| ↳ | android.support.test.rule.PortForwardingRule.Builder |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Builder which allows to pass a
Properties object for testing. | |||||||||||
Builder to set a specific host address to forward the network traffic to.
| |||||||||||
Builder to set a specific port number to forward the network traffic to.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
Builder which allows to pass a Properties object for testing. This will help to avoid
the system properties being affected by tests.
| Parameters | |
|---|---|
properties |
Properties: A pre-constructed properties object for testing.
|
| Returns | |
|---|---|
PortForwardingRule.Builder |
|
Builder to set a specific host address to forward the network traffic to.
| Parameters | |
|---|---|
proxyHost |
String: The host address to which the network traffic is forwarded during tests.
|
| Returns | |
|---|---|
PortForwardingRule.Builder |
|
Builder to set a specific port number to forward the network traffic to.
| Parameters | |
|---|---|
proxyPort |
int: The port number to which the network traffic is forwarded during tests.
|
| Returns | |
|---|---|
PortForwardingRule.Builder |
|