Skip to main content

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


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
Developer advice, training, services and support
from the Jetty & CometD experts.

Back to the top