java.lang.Object
java.lang.Record
io.helidon.http.http2.Http2WindowUpdate
- Record Components:
windowSizeIncrement- window size increment
- All Implemented Interfaces:
Http2Frame<Http2Flag.NoFlags>
public record Http2WindowUpdate(int windowSizeIncrement)
extends Record
implements Http2Frame<Http2Flag.NoFlags>
Window update frame.
-
Constructor Summary
ConstructorsConstructorDescriptionHttp2WindowUpdate(int windowSizeIncrement) Creates an instance of aHttp2WindowUpdaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic Http2WindowUpdatecreate(BufferData bufferData) Create from frame data.final booleanIndicates whether some other object is "equal to" this one.Frame type enum.Frame types.final inthashCode()Returns a hash code value for this object.name()Frame name.toFrameData(Http2Settings settings, int streamId, Http2Flag.NoFlags flags) Not implemented in headers, data, as these may use continuations.final StringtoString()Returns a string representation of this record class.intReturns the value of thewindowSizeIncrementrecord component.
-
Constructor Details
-
Http2WindowUpdate
public Http2WindowUpdate(int windowSizeIncrement) Creates an instance of aHttp2WindowUpdaterecord class.- Parameters:
windowSizeIncrement- the value for thewindowSizeIncrementrecord component
-
-
Method Details
-
create
Create from frame data.- Parameters:
bufferData- frame data- Returns:
- window update frame
-
toFrameData
Description copied from interface:Http2FrameNot implemented in headers, data, as these may use continuations.- Specified by:
toFrameDatain interfaceHttp2Frame<Http2Flag.NoFlags>- Parameters:
settings- settingsstreamId- stream id of this frameflags- to use- Returns:
- frame data
-
name
Description copied from interface:Http2FrameFrame name.- Specified by:
namein interfaceHttp2Frame<Http2Flag.NoFlags>- Returns:
- frame type name
-
frameType
Description copied from interface:Http2FrameFrame type enum.- Specified by:
frameTypein interfaceHttp2Frame<Http2Flag.NoFlags>- Returns:
- type of this frame
-
frameTypes
Description copied from interface:Http2FrameFrame types.- Specified by:
frameTypesin interfaceHttp2Frame<Http2Flag.NoFlags>- Returns:
- frame types
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
windowSizeIncrement
public int windowSizeIncrement()Returns the value of thewindowSizeIncrementrecord component.- Returns:
- the value of the
windowSizeIncrementrecord component
-