Package org.microproxy.frames
Record Class Http3Frame.CancelPush
java.lang.Object
java.lang.Record
org.microproxy.frames.Http3Frame.CancelPush
- Record Components:
pushId- the push
- All Implemented Interfaces:
Http3Frame,HttpFrame
- Enclosing interface:
Http3Frame
CANCEL_PUSH (section 7.2.3), on the control stream.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.microproxy.frames.Http3Frame
Http3Frame.CancelPush, Http3Frame.Data, Http3Frame.GoAway, Http3Frame.Headers, Http3Frame.MaxPushId, Http3Frame.PushPromise, Http3Frame.Settings, Http3Frame.Unknown -
Field Summary
Fields inherited from interface org.microproxy.frames.Http3Frame
MAX_VARINT, SETTINGS_ENABLE_CONNECT_PROTOCOL, SETTINGS_H3_DATAGRAM, SETTINGS_MAX_FIELD_SECTION_SIZE, SETTINGS_QPACK_BLOCKED_STREAMS, SETTINGS_QPACK_MAX_TABLE_CAPACITY, TYPE_CANCEL_PUSH, TYPE_DATA, TYPE_GOAWAY, TYPE_HEADERS, TYPE_MAX_PUSH_ID, TYPE_PUSH_PROMISE, TYPE_SETTINGS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longpushId()Returns the value of thepushIdrecord component.final StringtoString()Returns a string representation of this record class.longtypeCode()The frame type's code on the wire.typeName()The frame type's name as the protocol's RFC spells it (DATA,HEADERS,SETTINGS, ...), orUNKNOWNfor an extension or reserved type.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.microproxy.frames.Http3Frame
protocol
-
Constructor Details
-
CancelPush
public CancelPush(long pushId) Creates CANCEL_PUSH.- Parameters:
pushId- the push, 0 to 2^62-1
-
-
Method Details
-
typeName
Description copied from interface:HttpFrameThe frame type's name as the protocol's RFC spells it (DATA,HEADERS,SETTINGS, ...), orUNKNOWNfor an extension or reserved type. -
typeCode
public long typeCode()Description copied from interface:HttpFrameThe frame type's code on the wire. -
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 '=='. -
pushId
public long pushId()Returns the value of thepushIdrecord component.- Returns:
- the value of the
pushIdrecord component
-