SecureBlackbox 2020 Java Edition

Questions / Feedback?

KeepAlivePolicy Property

Defines the keep-alive handling policy.

Syntax

public int getKeepAlivePolicy();
public void setKeepAlivePolicy(int keepAlivePolicy);

Enumerated values: public final static int ckapStandardDefined = 0; public final static int ckapPreferKeepAlive = 1; public final static int ckapRelyOnServer = 2; public final static int ckapKeepAlivesDisabled = 3;

Default Value

0

Remarks

Use this property to tune-up the keep-alive mechanism as per the needs of your application.

ckapStandardDefined0Follow the standard
ckapPreferKeepAlive1Always request a keep-alive connection
ckapRelyOnServer2Not include the "Connection" header, allowing the server to choose the keep-alive mode
ckapKeepAlivesDisabled3Disable keep-alives by including the "Connection: Close" header

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Java Edition - Version 20.0 [Build 8156]