Record Class EncoderSink.WriteRecord
java.lang.Object
java.lang.Record
org.eclipse.jetty.compression.EncoderSink.WriteRecord
- Enclosing class:
 EncoderSink
public static record EncoderSink.WriteRecord(boolean last, ByteBuffer output, Callback callback)
extends Record
- 
Constructor Summary
ConstructorsConstructorDescriptionWriteRecord(boolean last, ByteBuffer output, Callback callback) Creates an instance of aWriteRecordrecord class. - 
Method Summary
Modifier and TypeMethodDescriptioncallback()Returns the value of thecallbackrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanlast()Returns the value of thelastrecord component.output()Returns the value of theoutputrecord component.final StringtoString()Returns a string representation of this record class. 
- 
Constructor Details
- 
WriteRecord
Creates an instance of aWriteRecordrecord class.- Parameters:
 last- the value for thelastrecord componentoutput- the value for theoutputrecord componentcallback- the value for thecallbackrecord component
 
 - 
 - 
Method Details
- 
toString
 - 
hashCode
 - 
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. - 
last
public boolean last()Returns the value of thelastrecord component.- Returns:
 - the value of the 
lastrecord component 
 - 
output
Returns the value of theoutputrecord component.- Returns:
 - the value of the 
outputrecord component 
 - 
callback
Returns the value of thecallbackrecord component.- Returns:
 - the value of the 
callbackrecord component 
 
 -