Record Class CredentialsRequest
java.lang.Object
java.lang.Record
com.loomcache.client.security.CredentialsRequest
Context passed to a
CredentialsFactory when the client needs AUTH credentials.-
Constructor Summary
ConstructorsConstructorDescriptionCredentialsRequest(String nodeId, @Nullable String remoteAddress) Creates an instance of aCredentialsRequestrecord 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.nodeId()Returns the value of thenodeIdrecord component.@Nullable StringReturns the value of theremoteAddressrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CredentialsRequest
-
-
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). -
nodeId
Returns the value of thenodeIdrecord component.- Returns:
- the value of the
nodeIdrecord component
-
remoteAddress
Returns the value of theremoteAddressrecord component.- Returns:
- the value of the
remoteAddressrecord component
-