Record Class SokletServletPrintWriterEvent.ValuePrinted
java.lang.Object
java.lang.Record
com.soklet.servlet.jakarta.SokletServletPrintWriterEvent.ValuePrinted
- All Implemented Interfaces:
SokletServletPrintWriterEvent
- Enclosing interface:
SokletServletPrintWriterEvent
public static record SokletServletPrintWriterEvent.ValuePrinted(@Nullable Object value)
extends Record
implements SokletServletPrintWriterEvent
Event emitted when an
Object value is written to the SokletServletPrintWriter.- Author:
- Mark Allen
-
Nested Class Summary
Nested classes/interfaces inherited from interface SokletServletPrintWriterEvent
SokletServletPrintWriterEvent.CharAppended, SokletServletPrintWriterEvent.CharSequenceAppended, SokletServletPrintWriterEvent.CharsWritten, SokletServletPrintWriterEvent.CharWritten, SokletServletPrintWriterEvent.FormatPerformed, SokletServletPrintWriterEvent.NewlinePrinted, SokletServletPrintWriterEvent.PrintfPerformed, SokletServletPrintWriterEvent.StringWritten, SokletServletPrintWriterEvent.ValuePrinted, SokletServletPrintWriterEvent.ValueWithNewlinePrintedModifier and TypeInterfaceDescriptionstatic final recordEvent emitted when acharis appended to theSokletServletPrintWriter.static final recordEvent emitted when aCharSequenceis appended to theSokletServletPrintWriter.static final recordEvent emitted when achar[]is written to theSokletServletPrintWriter.static final recordEvent emitted when anint(character) is written to theSokletServletPrintWriter.static final recordEvent emitted when the result of a "format" operation is written to theSokletServletPrintWriter.static final recordEvent emitted when a newline is written to theSokletServletPrintWriter.static final recordEvent emitted when the result of a "printf" operation is written to theSokletServletPrintWriter.static final recordEvent emitted when aStringis written to theSokletServletPrintWriter.static final recordEvent emitted when anObjectvalue is written to theSokletServletPrintWriter.static final recordEvent emitted when anObjectvalue with a newline is written to theSokletServletPrintWriter. -
Constructor Summary
ConstructorsConstructorDescriptionValuePrinted(@Nullable Object value) Creates an instance of aValuePrintedrecord class. -
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.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
ValuePrinted
Creates an instance of aValuePrintedrecord class.- Parameters:
value- the value for thevaluerecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
value
-