AS2MessageConnectionSettings Class
- java.
lang. Object - com.
azure. resourcemanager. logic. models. AS2MessageConnectionSettings
- com.
Implements
public final class AS2MessageConnectionSettings
implements JsonSerializable<AS2MessageConnectionSettings>
The AS2 agreement message connection settings.
Constructor Summary
Constructor | Description |
---|---|
AS2MessageConnectionSettings() |
Creates an instance of AS2Message |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
AS2Message |
fromJson(JsonReader jsonReader)
Reads an instance of AS2Message |
boolean |
ignoreCertificateNameMismatch()
Get the ignore |
boolean |
keepHttpConnectionAlive()
Get the keep |
boolean |
supportHttpStatusCodeContinue()
Get the support |
Json |
toJson(JsonWriter jsonWriter) |
boolean |
unfoldHttpHeaders()
Get the unfold |
void |
validate()
Validates the instance. |
AS2Message |
withIgnoreCertificateNameMismatch(boolean ignoreCertificateNameMismatch)
Set the ignore |
AS2Message |
withKeepHttpConnectionAlive(boolean keepHttpConnectionAlive)
Set the keep |
AS2Message |
withSupportHttpStatusCodeContinue(boolean supportHttpStatusCodeContinue)
Set the support |
AS2Message |
withUnfoldHttpHeaders(boolean unfoldHttpHeaders)
Set the unfold |
Methods inherited from java.lang.Object
Constructor Details
AS2MessageConnectionSettings
public AS2MessageConnectionSettings()
Creates an instance of AS2MessageConnectionSettings class.
Method Details
fromJson
public static AS2MessageConnectionSettings fromJson(JsonReader jsonReader)
Reads an instance of AS2MessageConnectionSettings from the JsonReader.
Parameters:
Returns:
Throws:
ignoreCertificateNameMismatch
public boolean ignoreCertificateNameMismatch()
Get the ignoreCertificateNameMismatch property: The value indicating whether to ignore mismatch in certificate name.
Returns:
keepHttpConnectionAlive
public boolean keepHttpConnectionAlive()
Get the keepHttpConnectionAlive property: The value indicating whether to keep the connection alive.
Returns:
supportHttpStatusCodeContinue
public boolean supportHttpStatusCodeContinue()
Get the supportHttpStatusCodeContinue property: The value indicating whether to support HTTP status code 'CONTINUE'.
Returns:
toJson
unfoldHttpHeaders
public boolean unfoldHttpHeaders()
Get the unfoldHttpHeaders property: The value indicating whether to unfold the HTTP headers.
Returns:
validate
public void validate()
Validates the instance.
withIgnoreCertificateNameMismatch
public AS2MessageConnectionSettings withIgnoreCertificateNameMismatch(boolean ignoreCertificateNameMismatch)
Set the ignoreCertificateNameMismatch property: The value indicating whether to ignore mismatch in certificate name.
Parameters:
Returns:
withKeepHttpConnectionAlive
public AS2MessageConnectionSettings withKeepHttpConnectionAlive(boolean keepHttpConnectionAlive)
Set the keepHttpConnectionAlive property: The value indicating whether to keep the connection alive.
Parameters:
Returns:
withSupportHttpStatusCodeContinue
public AS2MessageConnectionSettings withSupportHttpStatusCodeContinue(boolean supportHttpStatusCodeContinue)
Set the supportHttpStatusCodeContinue property: The value indicating whether to support HTTP status code 'CONTINUE'.
Parameters:
Returns:
withUnfoldHttpHeaders
public AS2MessageConnectionSettings withUnfoldHttpHeaders(boolean unfoldHttpHeaders)
Set the unfoldHttpHeaders property: The value indicating whether to unfold the HTTP headers.
Parameters:
Returns:
Applies to
Azure SDK for Java