TestProxyRecordingOptions Class
- java.
lang. Object - com.
azure. core. test. models. TestProxyRecordingOptions
- com.
Implements
public class TestProxyRecordingOptions
implements JsonSerializable<TestProxyRecordingOptions>
Keeps track of transport layer recording options to send to proxy.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| TestProxyRecordingOptions() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Test |
fromJson(JsonReader jsonReader)
Deserializes an instance of Test |
|
Proxy |
getTransportOptions()
Get test proxy transport options for recording. |
| boolean |
isAutoRedirect()
Get if auto redirecting is allowed. |
|
Test |
setAutoRedirect(boolean autoRedirect)
Set the boolean value indicating if auto redirect is allowed. |
|
Test |
setTransportOptions(TestProxyRecordingOptions.ProxyTransport proxyTransportOptions)
Set test proxy transport options for recording. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
TestProxyRecordingOptions
public TestProxyRecordingOptions()
Method Details
fromJson
public static TestProxyRecordingOptions fromJson(JsonReader jsonReader)
Deserializes an instance of TestProxyRecordingOptions from the input JSON.
Parameters:
Returns:
Throws:
getTransportOptions
public TestProxyRecordingOptions.ProxyTransport getTransportOptions()
Get test proxy transport options for recording.
Returns:
isAutoRedirect
public boolean isAutoRedirect()
Get if auto redirecting is allowed. Default value is set to true.
Returns:
setAutoRedirect
public TestProxyRecordingOptions setAutoRedirect(boolean autoRedirect)
Set the boolean value indicating if auto redirect is allowed.
Parameters:
Returns:
setTransportOptions
public TestProxyRecordingOptions setTransportOptions(TestProxyRecordingOptions.ProxyTransport proxyTransportOptions)
Set test proxy transport options for recording.
Parameters:
Returns: