diff --git a/core-common/src/main/java/org/glassfish/jersey/ExternalProperties.java b/core-common/src/main/java/org/glassfish/jersey/ExternalProperties.java index 04ef1bd323..649525cc84 100644 --- a/core-common/src/main/java/org/glassfish/jersey/ExternalProperties.java +++ b/core-common/src/main/java/org/glassfish/jersey/ExternalProperties.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, 2021 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0, which is available at @@ -37,6 +37,17 @@ public final class ExternalProperties { */ public static final String HTTP_NON_PROXY_HOSTS = "http.nonProxyHosts"; + /** + * Property used to indicates if persistent connections should be supported. + */ + public static final String HTTP_KEEPALIVE = "http.keepAlive"; + + /** + * If HTTP keepalive is enabled this value determines the maximum number + * of idle connections that will be simultaneously kept alive, per destination. + */ + public static final String HTTP_MAX_CONNECTIONS = "http.maxConnections"; + /** * Prevent instantiation. */ diff --git a/tests/integration/externalproperties/pom.xml b/tests/integration/externalproperties/pom.xml index eb56341c26..04ba43c894 100644 --- a/tests/integration/externalproperties/pom.xml +++ b/tests/integration/externalproperties/pom.xml @@ -1,7 +1,7 @@