[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] HTTP2Client & HttpClientTransportOverHTTP2 - default behavior with push promises
|
Hi,
On Mon, Sep 18, 2017 at 2:14 PM, Jan Weinschenker
<Jan.Weinschenker@xxxxxxxxxxxxx> wrote:
> Dear all,
>
> when working with the HTTP2Client against an http2-server that is capable of
> sending push promises, what is the default behavior of the client when it
> receives a push promise?
>
> Is the promise being ignored by default? Or will the promise be pulled into
> the client’s http cache?
There is no client HTTP cache.
> I know that I can implement the client’s behavior myself by providing an
> implementation of Stream.Listener.Adapter(). But if I don’t provide my own
> implementation, what will the Http2client do then?
HTTP2Client currently ignores pushed resources.
--
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.