Package io.netty.handler.codec.http2
Interface Http2PriorityFrame
-
- All Superinterfaces:
Http2Frame,Http2StreamFrame
- All Known Implementing Classes:
DefaultHttp2PriorityFrame
public interface Http2PriorityFrame extends Http2StreamFrame
HTTP/2 Priority Frame
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexclusive()Set totrueif this stream is exclusive else set tofalseHttp2PriorityFramestream(Http2FrameStream stream)Set theHttp2FrameStreamobject for this frame.intstreamDependency()Parent Stream Id of this Priority requestshortweight()Stream weight-
Methods inherited from interface io.netty.handler.codec.http2.Http2Frame
name
-
Methods inherited from interface io.netty.handler.codec.http2.Http2StreamFrame
stream
-
-
-
-
Method Detail
-
streamDependency
int streamDependency()
Parent Stream Id of this Priority request
-
weight
short weight()
Stream weight
-
exclusive
boolean exclusive()
Set totrueif this stream is exclusive else set tofalse
-
stream
Http2PriorityFrame stream(Http2FrameStream stream)
Description copied from interface:Http2StreamFrameSet theHttp2FrameStreamobject for this frame.- Specified by:
streamin interfaceHttp2StreamFrame
-
-