Package ch.rswk.meta.engine.ws
Record Class EngineWebSocketController.EngineWebSocketControllerConfig
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.ws.EngineWebSocketController.EngineWebSocketControllerConfig
- Enclosing class:
EngineWebSocketController
public static record EngineWebSocketController.EngineWebSocketControllerConfig(boolean logAllowUnauthorized, boolean uploadGrantFull)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
The field for thelogAllowUnauthorized
record component.private final boolean
The field for theuploadGrantFull
record component. -
Constructor Summary
ConstructorsConstructorDescriptionEngineWebSocketControllerConfig
(boolean logAllowUnauthorized, boolean uploadGrantFull) Creates an instance of aEngineWebSocketControllerConfig
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.boolean
Returns the value of thelogAllowUnauthorized
record component.final String
toString()
Returns a string representation of this record class.boolean
Returns the value of theuploadGrantFull
record component.
-
Field Details
-
logAllowUnauthorized
private final boolean logAllowUnauthorizedThe field for thelogAllowUnauthorized
record component. -
uploadGrantFull
private final boolean uploadGrantFullThe field for theuploadGrantFull
record component.
-
-
Constructor Details
-
EngineWebSocketControllerConfig
public EngineWebSocketControllerConfig(boolean logAllowUnauthorized, boolean uploadGrantFull) Creates an instance of aEngineWebSocketControllerConfig
record class.- Parameters:
logAllowUnauthorized
- the value for thelogAllowUnauthorized
record componentuploadGrantFull
- the value for theuploadGrantFull
record 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 with '=='. -
logAllowUnauthorized
public boolean logAllowUnauthorized()Returns the value of thelogAllowUnauthorized
record component.- Returns:
- the value of the
logAllowUnauthorized
record component
-
uploadGrantFull
public boolean uploadGrantFull()Returns the value of theuploadGrantFull
record component.- Returns:
- the value of the
uploadGrantFull
record component
-