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
public abstract class AbstractHttp2StreamFrame extends java.lang.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 booleanequals(java.lang.Object o)Returnstrueifohas equalstreamto this object.inthashCode()Http2FrameStreamstream()Returns theHttp2FrameStreamobject for this frame, ornullif the frame has yet to be associated with a stream.AbstractHttp2StreamFramestream(Http2FrameStream stream)Set theHttp2FrameStreamobject 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
-
-
-
-
Method Detail
-
stream
public AbstractHttp2StreamFrame stream(Http2FrameStream stream)
Description copied from interface:Http2StreamFrameSet theHttp2FrameStreamobject for this frame.- Specified by:
streamin interfaceHttp2StreamFrame
-
stream
public Http2FrameStream stream()
Description copied from interface:Http2StreamFrameReturns theHttp2FrameStreamobject for this frame, ornullif the frame has yet to be associated with a stream.- Specified by:
streamin interfaceHttp2StreamFrame
-
equals
public boolean equals(java.lang.Object o)
Returnstrueifohas equalstreamto this object.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-