Skip to main content

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

Hi

Thanks. It really works.

Best Regards
Muhui Jiang

2015-09-27 22:15 GMT+08:00 Simone Bordet <sbordet@xxxxxxxxxxx>:
Hi,

On Sun, Sep 27, 2015 at 4:04 PM, Muhui Jiang <jiangmuhui@xxxxxxxxx> wrote:
> Hi
>
> A few days ago. Simone told me Jetty can send a single priority frame.
>
> According to RFC7540. Stream priorities can be changed using priority frame.
>
> I find that only the session has a function named priority to send a
> priority frame.
>
> Like this:
>
> session.priority(new PriorityFrame(1, 255, false), Callback.NOOP);

PriorityFrame has 2 constructors. One of them takes 2 streamIds, the
actual stream id and the parent stream id.

This should be enough to cover your case: you send a
PriorityFrame(streamIdA, streamIdC, ...)

--
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top