AS2MessageConnectionSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.logic.models.AS2MessageConnectionSettings

Implements

public final class AS2MessageConnectionSettings
implements JsonSerializable<AS2MessageConnectionSettings>

The AS2 agreement message connection settings.

Constructor Summary

Constructor Description
AS2MessageConnectionSettings()

Creates an instance of AS2MessageConnectionSettings class.

Method Summary

Modifier and Type Method and Description
static AS2MessageConnectionSettings fromJson(JsonReader jsonReader)

Reads an instance of AS2MessageConnectionSettings from the JsonReader.

boolean ignoreCertificateNameMismatch()

Get the ignoreCertificateNameMismatch property: The value indicating whether to ignore mismatch in certificate name.

boolean keepHttpConnectionAlive()

Get the keepHttpConnectionAlive property: The value indicating whether to keep the connection alive.

boolean supportHttpStatusCodeContinue()

Get the supportHttpStatusCodeContinue property: The value indicating whether to support HTTP status code 'CONTINUE'.

JsonWriter toJson(JsonWriter jsonWriter)
boolean unfoldHttpHeaders()

Get the unfoldHttpHeaders property: The value indicating whether to unfold the HTTP headers.

void validate()

Validates the instance.

AS2MessageConnectionSettings withIgnoreCertificateNameMismatch(boolean ignoreCertificateNameMismatch)

Set the ignoreCertificateNameMismatch property: The value indicating whether to ignore mismatch in certificate name.

AS2MessageConnectionSettings withKeepHttpConnectionAlive(boolean keepHttpConnectionAlive)

Set the keepHttpConnectionAlive property: The value indicating whether to keep the connection alive.

AS2MessageConnectionSettings withSupportHttpStatusCodeContinue(boolean supportHttpStatusCodeContinue)

Set the supportHttpStatusCodeContinue property: The value indicating whether to support HTTP status code 'CONTINUE'.

AS2MessageConnectionSettings withUnfoldHttpHeaders(boolean unfoldHttpHeaders)

Set the unfoldHttpHeaders property: The value indicating whether to unfold the HTTP headers.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of AS2MessageConnectionSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

ignoreCertificateNameMismatch

public boolean ignoreCertificateNameMismatch()

Get the ignoreCertificateNameMismatch property: The value indicating whether to ignore mismatch in certificate name.

Returns:

the ignoreCertificateNameMismatch value.

keepHttpConnectionAlive

public boolean keepHttpConnectionAlive()

Get the keepHttpConnectionAlive property: The value indicating whether to keep the connection alive.

Returns:

the keepHttpConnectionAlive value.

supportHttpStatusCodeContinue

public boolean supportHttpStatusCodeContinue()

Get the supportHttpStatusCodeContinue property: The value indicating whether to support HTTP status code 'CONTINUE'.

Returns:

the supportHttpStatusCodeContinue value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

unfoldHttpHeaders

public boolean unfoldHttpHeaders()

Get the unfoldHttpHeaders property: The value indicating whether to unfold the HTTP headers.

Returns:

the unfoldHttpHeaders value.

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:

ignoreCertificateNameMismatch - the ignoreCertificateNameMismatch value to set.

Returns:

the AS2MessageConnectionSettings object itself.

withKeepHttpConnectionAlive

public AS2MessageConnectionSettings withKeepHttpConnectionAlive(boolean keepHttpConnectionAlive)

Set the keepHttpConnectionAlive property: The value indicating whether to keep the connection alive.

Parameters:

keepHttpConnectionAlive - the keepHttpConnectionAlive value to set.

Returns:

the AS2MessageConnectionSettings object itself.

withSupportHttpStatusCodeContinue

public AS2MessageConnectionSettings withSupportHttpStatusCodeContinue(boolean supportHttpStatusCodeContinue)

Set the supportHttpStatusCodeContinue property: The value indicating whether to support HTTP status code 'CONTINUE'.

Parameters:

supportHttpStatusCodeContinue - the supportHttpStatusCodeContinue value to set.

Returns:

the AS2MessageConnectionSettings object itself.

withUnfoldHttpHeaders

public AS2MessageConnectionSettings withUnfoldHttpHeaders(boolean unfoldHttpHeaders)

Set the unfoldHttpHeaders property: The value indicating whether to unfold the HTTP headers.

Parameters:

unfoldHttpHeaders - the unfoldHttpHeaders value to set.

Returns:

the AS2MessageConnectionSettings object itself.

Applies to