cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Savva Kolbachev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-2076) Implement Jetty Client support for ROP Client
Date Mon, 27 Jun 2016 10:08:52 GMT

     [ https://issues.apache.org/jira/browse/CAY-2076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Savva Kolbachev updated CAY-2076:
---------------------------------
    Description: 
The goal is to add Jetty Client support for ROP client as a separate module with both HTTP/1.1
and HTTP/2 implementations.

The solution is implementing ROPConnector interface with Jetty's HttpClient for HTTP/1.1 and
Jetty's HttpClient over Http2Client for HTTP/2 .

Depends on your needs, you could use HTTP/2 implementation with or without ALPN.

  was:
The goal is add HTTP/2 support for ROP client as seperate module.
The solution is implementing ROPConnector interface with Jetty HTTP/2 Client.

Depends on your needs, there are several ways how to use this implementation.

Usage _HighHttp2ROPConnector_ through _HighHttp2ALPNClientConnectionProvider._
This solution based on Jetty http2-http-client-transport, which provides the implementation
of the HTTP/2 transport for HttpClient. So we can use the higher level API provided by HttpClient
to send HTTP requests and receive HTTP responses, and the HTTP/2 transport will take care
of converting them in HTTP/2 format. It requires ALPN to determine which protocol should be
used.

Usage _HighHttp2ROPConnector_ through _HighHttp2ClientConnectionProvider._
It also based on Jetty http2-http-client-transport, but doesn't use ALPN. It uses prior knowledge
about HTTP/2 on server-side. So this solution connects directly to the server via HTTP/2 and
you could use it without providing ALPN.

Usage _LowHttp2ROPConnector_ through _LowHttp2ClientConnectionProvider._
This solution based on Jetty http2-client, which provides the implementation of HTTP/2 client
with a low level HTTP/2 API. It's more complex but flexible way. You could handle all things
related to your sessions, streams, frames and etc. It also uses prior knowledge instead of
ALPN.


> Implement Jetty Client support for ROP Client
> ---------------------------------------------
>
>                 Key: CAY-2076
>                 URL: https://issues.apache.org/jira/browse/CAY-2076
>             Project: Cayenne
>          Issue Type: Task
>          Components: ROP
>            Reporter: Savva Kolbachev
>            Assignee: Savva Kolbachev
>             Fix For: 4.0.M4
>
>
> The goal is to add Jetty Client support for ROP client as a separate module with both
HTTP/1.1 and HTTP/2 implementations.
> The solution is implementing ROPConnector interface with Jetty's HttpClient for HTTP/1.1
and Jetty's HttpClient over Http2Client for HTTP/2 .
> Depends on your needs, you could use HTTP/2 implementation with or without ALPN.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message