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
ConstructorDescriptionContext
(SSLContext sslContext, KeyManager keyManager, TrustManager trustManager) Creates an instance of aContext
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thekeyManager
record component.Returns the value of thesslContext
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thetrustManager
record component.
-
Constructor Details
-
Context
Creates an instance of aContext
record class.- Parameters:
sslContext
- the value for thesslContext
record componentkeyManager
- the value for thekeyManager
record componenttrustManager
- the value for thetrustManager
record 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 thesslContext
record component.- Returns:
- the value of the
sslContext
record component
-
keyManager
Returns the value of thekeyManager
record component.- Returns:
- the value of the
keyManager
record component
-
trustManager
Returns the value of thetrustManager
record component.- Returns:
- the value of the
trustManager
record component
-