<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello everyone,</div>
<pre><pre><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br></div><div style="direction: ltr; text-align: left; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">for a long time there have been various different implementations of clients to manage http and https connections as well as custom solutions,</div><div style="direction: ltr; text-align: left; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> to manage the connection pools of the same http/https connections. </div><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br></div><div style="direction: ltr; text-align: left; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Wouldn't it be a good idea to standardize a set of interfaces and APIs as done for database connections with jdbc and datasource? </div><div style="direction: ltr; text-align: left; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">It's nice to have an interface similar to https://docs.oracle.com/javase/8/docs/api/javax/sql/DataSource.html for Http Connection and  ConnectionPool.</div></pre><div style="direction: ltr; text-align: left; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Proposal: Create a set of api,interface to standardize http clients (like internal jdk client, apache httpClient etc). </div><div style="direction: ltr; text-align: left; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">And also create, as done for jdbc, an example of an Interface as a DataSource:
 The DataSource interface is implemented by a driver vendor. There are three types of implementations:

    1)Basic implementation -- produces a standard Connection object
    2)Connection pooling implementation -- produces a Connection object that will automatically participate in connection pooling. This implementation works with a middle-tier connection pooling manager. 
        to also have a standard for the creation and management of http connection pools.</div><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br></div><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">How do you think?</div><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br></div><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Regards</div><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Angelo Rubini</div></pre>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div dir="ltr" id="divRplyFwdMsg"><span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>Da:</b> Angelo Rubini <angelorubini@hotmail.it><br>
<b>Inviato:</b> mercoledì 26 febbraio 2025 10:14<br>
<b>A:</b> net-dev@openjdk.org <net-dev@openjdk.org><br>
<b>Oggetto:</b> Proposal: Create a set of interface,api to standardize http client and Http ConnetionPool</span>
<div> </div>
</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello everyone,</div>
<pre><pre><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br></div><div style="direction: ltr; text-align: left; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">for a long time there have been various different implementations of clients to manage http and https connections as well as custom solutions,</div><div style="direction: ltr; text-align: left; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> to manage the connection pools of the same http/https connections. </div><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br></div><div style="direction: ltr; text-align: left; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Wouldn't it be a good idea to standardize a set of interfaces and APIs as done for database connections with jdbc and datasource? </div><div style="direction: ltr; text-align: left; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">It's nice to have an interface similar to https://docs.oracle.com/javase/8/docs/api/javax/sql/DataSource.html for Http Connection and  ConnectionPool.</div></pre><div style="direction: ltr; text-align: left; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Proposal: Create a set of api,interface to standardize http clients (like internal jdk client, apache httpClient etc). </div><div style="direction: ltr; text-align: left; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">And also create, as done for jdbc, an example of an Interface as a DataSource:
 The DataSource interface is implemented by a driver vendor. There are three types of implementations:

    1)Basic implementation -- produces a standard Connection object
    2)Connection pooling implementation -- produces a Connection object that will automatically participate in connection pooling. This implementation works with a middle-tier connection pooling manager. 
        to also have a standard for the creation and management of http connection pools.</div><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br></div><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">How do you think?</div><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br></div><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Regards</div><div style="direction: ltr; text-align: left; white-space: normal; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Angelo Rubini</div></pre>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</body>
</html>