@Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public final class HTTPBackend extends ApiSpecificationRouteBackend
Send the request to an HTTP backend.
Note: Objects should always be created or deserialized using the HTTPBackend.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the HTTPBackend.Builder
, which maintain a
set of all explicitly set fields called HTTPBackend.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
HTTPBackend.Builder |
ApiSpecificationRouteBackend.Type
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
HTTPBackend(String url,
Float connectTimeoutInSeconds,
Float readTimeoutInSeconds,
Float sendTimeoutInSeconds,
Boolean isSslVerifyDisabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HTTPBackend.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Float |
getConnectTimeoutInSeconds()
Defines a timeout for establishing a connection with a proxied server.
|
Boolean |
getIsSslVerifyDisabled()
Defines whether or not to uphold SSL verification.
|
Float |
getReadTimeoutInSeconds()
Defines a timeout for reading a response from the proxied server.
|
Float |
getSendTimeoutInSeconds()
Defines a timeout for transmitting a request to the proxied server.
|
String |
getUrl() |
int |
hashCode() |
HTTPBackend.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
public static HTTPBackend.Builder builder()
Create a new builder.
public HTTPBackend.Builder toBuilder()
public String getUrl()
public Float getConnectTimeoutInSeconds()
Defines a timeout for establishing a connection with a proxied server.
public Float getReadTimeoutInSeconds()
Defines a timeout for reading a response from the proxied server.
public Float getSendTimeoutInSeconds()
Defines a timeout for transmitting a request to the proxied server.
public Boolean getIsSslVerifyDisabled()
Defines whether or not to uphold SSL verification.
public String toString()
toString
in class ApiSpecificationRouteBackend
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ApiSpecificationRouteBackend
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ApiSpecificationRouteBackend
public int hashCode()
hashCode
in class ApiSpecificationRouteBackend
Copyright © 2016–2024. All rights reserved.