java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.CallbackHandler
-
Constructor Summary
ConstructorsConstructorDescriptionCallbackHandler(String params, int responseType) Creates an instance of aCallbackHandlerrecord 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.params()Returns the value of theparamsrecord component.intReturns the value of theresponseTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CallbackHandler
Creates an instance of aCallbackHandlerrecord class.- Parameters:
params- the value for theparamsrecord componentresponseType- the value for theresponseTyperecord 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 '=='. -
params
Returns the value of theparamsrecord component.- Returns:
- the value of the
paramsrecord component
-
responseType
public int responseType()Returns the value of theresponseTyperecord component.- Returns:
- the value of the
responseTyperecord component
-