public final class AS2MessageConnectionSettings extends Object
Constructor and Description |
---|
AS2MessageConnectionSettings() |
Modifier and Type | Method and Description |
---|---|
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'.
|
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.
|
public boolean ignoreCertificateNameMismatch()
public AS2MessageConnectionSettings withIgnoreCertificateNameMismatch(boolean ignoreCertificateNameMismatch)
ignoreCertificateNameMismatch
- the ignoreCertificateNameMismatch value to set.public boolean supportHttpStatusCodeContinue()
public AS2MessageConnectionSettings withSupportHttpStatusCodeContinue(boolean supportHttpStatusCodeContinue)
supportHttpStatusCodeContinue
- the supportHttpStatusCodeContinue value to set.public boolean keepHttpConnectionAlive()
public AS2MessageConnectionSettings withKeepHttpConnectionAlive(boolean keepHttpConnectionAlive)
keepHttpConnectionAlive
- the keepHttpConnectionAlive value to set.public boolean unfoldHttpHeaders()
public AS2MessageConnectionSettings withUnfoldHttpHeaders(boolean unfoldHttpHeaders)
unfoldHttpHeaders
- the unfoldHttpHeaders value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.