- java.lang.Object
-
- io.netty5.handler.codec.http2.AbstractHttp2StreamFrame
-
- All Implemented Interfaces:
Http2Frame
,Http2StreamFrame
- Direct Known Subclasses:
DefaultHttp2DataFrame
,DefaultHttp2HeadersFrame
,DefaultHttp2PriorityFrame
,DefaultHttp2ResetFrame
,DefaultHttp2WindowUpdateFrame
@UnstableApi public abstract class AbstractHttp2StreamFrame extends Object implements Http2StreamFrame
Abstract implementation ofHttp2StreamFrame
.
-
-
Constructor Summary
Constructors Constructor Description AbstractHttp2StreamFrame()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Returnstrue
ifo
has equalstream
to this object.int
hashCode()
Http2FrameStream
stream()
Returns theHttp2FrameStream
object for this frame, ornull
if the frame has yet to be associated with a stream.AbstractHttp2StreamFrame
stream(Http2FrameStream stream)
Set theHttp2FrameStream
object for this frame.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty5.handler.codec.http2.Http2Frame
name
-
-
-
-
Method Detail
-
stream
public AbstractHttp2StreamFrame stream(Http2FrameStream stream)
Description copied from interface:Http2StreamFrame
Set theHttp2FrameStream
object for this frame.- Specified by:
stream
in interfaceHttp2StreamFrame
-
stream
public Http2FrameStream stream()
Description copied from interface:Http2StreamFrame
Returns theHttp2FrameStream
object for this frame, ornull
if the frame has yet to be associated with a stream.- Specified by:
stream
in interfaceHttp2StreamFrame
-
equals
public boolean equals(Object o)
Returnstrue
ifo
has equalstream
to this object.
-
-