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 TypeMethodDescriptionbooleanReturnstrueifohas equalstreamto this object.inthashCode()stream()Returns theHttp2FrameStreamobject for this frame, ornullif the frame has yet to be associated with a stream.stream(Http2FrameStream stream) Set theHttp2FrameStreamobject for this frame.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:Http2StreamFrameSet theHttp2FrameStreamobject for this frame.- Specified by:
streamin interfaceHttp2StreamFrame
-
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
Returnstrueifohas equalstreamto this object. -
hashCode
public int hashCode()
-