Package ch.rswk.meta.engine
Record Class HttpService.HttpServiceAccessConfig
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.HttpService.HttpServiceAccessConfig
- Enclosing class:
HttpService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHttpServiceAccessConfig
(Set<String> exclude, Set<String> include) Creates an instance of aHttpServiceAccessConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.exclude()
Returns the value of theexclude
record component.final int
hashCode()
Returns a hash code value for this object.include()
Returns the value of theinclude
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
exclude
The field for theexclude
record component. -
include
The field for theinclude
record component.
-
-
Constructor Details
-
HttpServiceAccessConfig
Creates an instance of aHttpServiceAccessConfig
record class.- Parameters:
exclude
- the value for theexclude
record componentinclude
- the value for theinclude
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)
. -
exclude
Returns the value of theexclude
record component.- Returns:
- the value of the
exclude
record component
-
include
Returns the value of theinclude
record component.- Returns:
- the value of the
include
record component
-