Package io.netty.handler.codec.http2
Class AbstractHttp2StreamFrame
java.lang.Object
io.netty.handler.codec.http2.AbstractHttp2StreamFrame
- All Implemented Interfaces:
Http2Frame
,Http2StreamFrame
- Direct Known Subclasses:
DefaultHttp2DataFrame
,DefaultHttp2HeadersFrame
,DefaultHttp2PriorityFrame
,DefaultHttp2ResetFrame
,DefaultHttp2WindowUpdateFrame
Abstract implementation of
Http2StreamFrame
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
ifo
has equalstream
to this object.int
hashCode()
stream()
Returns theHttp2FrameStream
object for this frame, ornull
if the frame has yet to be associated with a stream.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.netty.handler.codec.http2.Http2Frame
name
-
Field Details
-
stream
-
-
Constructor Details
-
AbstractHttp2StreamFrame
public AbstractHttp2StreamFrame()
-
-
Method Details
-
stream
Description copied from interface:Http2StreamFrame
Set theHttp2FrameStream
object for this frame.- Specified by:
stream
in interfaceHttp2StreamFrame
-
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
Returnstrue
ifo
has equalstream
to this object. -
hashCode
public int hashCode()
-