Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Dependency tree built

Hi,

On Sun, Sep 13, 2015 at 9:46 AM, Muhui Jiang <jiangmuhui@xxxxxxxxx> wrote:
> Hi all:
>
> According to the Jetty javadoc. The construct method of HeadersFrame is:
>
> HeadersFrame(int streamId, MetaData metaData, PriorityFrame priority,
> boolean endStream).
>
> And the construct method of PriorityFrame is
>
> PriorityFrame(int streamId, int dependentStreamId, int weight, boolean
> exclusive).
>
> They all have a streamid. What is the difference? If I want to build a
> dependent tree which streamid should be dependent? Many Thanks.

The variable names explain it all.
For reference, see also:
http://tools.ietf.org/html/rfc7540#section-5.3 and
http://tools.ietf.org/html/rfc7540#section-6.3.

HTTP2Client does not have yet the capability to send a single PRIORITY
frame, but I tracked this issue with:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=477270.

Thanks !

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top