Record Class WebsocketHandlerDecorator.SocketPattern
java.lang.Object
java.lang.Record
io.fluxzero.sdk.web.WebsocketHandlerDecorator.SocketPattern
- Enclosing class:
WebsocketHandlerDecorator
protected static record WebsocketHandlerDecorator.SocketPattern(Executable executable, WebPattern pattern)
extends Record
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSocketPattern(Executable executable, WebPattern pattern) Creates an instance of aSocketPatternrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutablerecord component.final inthashCode()Returns a hash code value for this object.pattern()Returns the value of thepatternrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SocketPattern
Creates an instance of aSocketPatternrecord class.- Parameters:
executable- the value for theexecutablerecord componentpattern- the value for thepatternrecord 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). -
executable
Returns the value of theexecutablerecord component.- Returns:
- the value of the
executablerecord component
-
pattern
Returns the value of thepatternrecord component.- Returns:
- the value of the
patternrecord component
-