Package org.infinispan.commons.util
Record Class SslContextFactory.Context
java.lang.Object
java.lang.Record
org.infinispan.commons.util.SslContextFactory.Context
- Enclosing class:
SslContextFactory
public static record SslContextFactory.Context(SSLContext sslContext, KeyManager keyManager, TrustManager trustManager)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionContext(SSLContext sslContext, KeyManager keyManager, TrustManager trustManager) Creates an instance of aContextrecord 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.Returns the value of thekeyManagerrecord component.Returns the value of thesslContextrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetrustManagerrecord component.
-
Constructor Details
-
Context
Creates an instance of aContextrecord class.- Parameters:
sslContext- the value for thesslContextrecord componentkeyManager- the value for thekeyManagerrecord componenttrustManager- the value for thetrustManagerrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
sslContext
Returns the value of thesslContextrecord component.- Returns:
- the value of the
sslContextrecord component
-
keyManager
Returns the value of thekeyManagerrecord component.- Returns:
- the value of the
keyManagerrecord component
-
trustManager
Returns the value of thetrustManagerrecord component.- Returns:
- the value of the
trustManagerrecord component
-