Record Class FormRouteCompleter.SubscriptionMetadata
java.lang.Object
java.lang.Record
io.micronaut.http.server.multipart.FormRouteCompleter.SubscriptionMetadata
- Enclosing class:
FormRouteCompleter
public static record FormRouteCompleter.SubscriptionMetadata(FormRouteCompleter.SubscriptionMode mode, Argument<?> argument)
extends Record
- Since:
- 5.0.0
- Author:
- Jonas Konrad
-
Constructor Summary
ConstructorsConstructorDescriptionSubscriptionMetadata(FormRouteCompleter.SubscriptionMode mode, Argument<?> argument) Creates an instance of aSubscriptionMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionArgument<?> argument()Returns the value of theargumentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mode()Returns the value of themoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SubscriptionMetadata
Creates an instance of aSubscriptionMetadatarecord class.- Parameters:
mode- the value for themoderecord componentargument- the value for theargumentrecord 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). -
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
argument
Returns the value of theargumentrecord component.- Returns:
- the value of the
argumentrecord component
-