Record Class AbstractWebsocketClient.ConnectionSetup
java.lang.Object
java.lang.Record
io.fluxzero.sdk.common.websocket.AbstractWebsocketClient.ConnectionSetup
- Enclosing class:
AbstractWebsocketClient
protected static record AbstractWebsocketClient.ConnectionSetup(WebsocketConnectionOptions options, AbstractWebsocketClient.ClientHandshakeConfigurator configurator)
extends Record
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConnectionSetup(WebsocketConnectionOptions options, AbstractWebsocketClient.ClientHandshakeConfigurator configurator) Creates an instance of aConnectionSetuprecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfiguratorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.options()Returns the value of theoptionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConnectionSetup
protected ConnectionSetup(WebsocketConnectionOptions options, AbstractWebsocketClient.ClientHandshakeConfigurator configurator) Creates an instance of aConnectionSetuprecord class.- Parameters:
options- the value for theoptionsrecord componentconfigurator- the value for theconfiguratorrecord 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). -
options
Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-
configurator
Returns the value of theconfiguratorrecord component.- Returns:
- the value of the
configuratorrecord component
-