Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty client

Hi,

On Thu, Sep 5, 2013 at 6:47 PM, Mikhail Mazursky <ash2kk@xxxxxxxxx> wrote:
> Hello.
>
> Few questions about Jetty Client:
>
> 1. Do it support SNI [1]? For example Apache Http Client do not [2] and we
> want to switch maybe to Jetty Client or some other.

Not sure about your question here.
The client side of SNI is taken care of in modern JDKs, which send the
SNI TLS extension by default to servers.
The current problem in Java is that it is not readable by servers.

> 2. Are there any plans to support JSR-339 [3]? I think it can be usefull to
> abstract implementation and be able to switch them. I found two
> implementations of this JSR - Jersey [4] (reference implementation) and
> Apache CXF [5]. I'm not sure what the CXF project is but looks like it
> supports this JSR.

JSR 339 is about a REST API on the server side.
I am not sure what you mean here about the client side.

> 3. Do Jetty Client use NIO to do I/O or traditional blocking I/O API? E.g.
> Jersey uses thread pool and traditional I/O to do async requests (AFAIK) and
> this may not suit my needs.

Jetty's HttpClient is completely based on NIO, completely asynchronous.

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
http://intalio.com
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.


Back to the top