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
@UnstableApi public abstract class AbstractHttp2StreamFrame extends java.lang.Object implements Http2StreamFrame
Abstract implementation ofHttp2StreamFrame
.
-
-
Field Summary
Fields Modifier and Type Field Description private Http2FrameStream
stream
-
Constructor Summary
Constructors Constructor Description AbstractHttp2StreamFrame()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.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.netty.handler.codec.http2.Http2Frame
name
-
-
-
-
Field Detail
-
stream
private Http2FrameStream stream
-
-
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(java.lang.Object o)
Returnstrue
ifo
has equalstream
to this object.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-