Record Class AbstractParametersProvider.ParametersSource
java.lang.Object
java.lang.Record
io.helidon.declarative.codegen.http.webserver.AbstractParametersProvider.ParametersSource
- Record Components:
accessor- expression prefix used to access the parameter collectionfilterEmptyStringValues- whether empty strings should be ignored for list valuesmapperQualifier- mapper qualifier to use for mapped values from this source
- Enclosing class:
AbstractParametersProvider
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedParametersSource(String accessor, boolean filterEmptyStringValues, String mapperQualifier) Creates an instance of aParametersSourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccessor()Returns the value of theaccessorrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thefilterEmptyStringValuesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themapperQualifierrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParametersSource
protected ParametersSource(String accessor, boolean filterEmptyStringValues, String mapperQualifier) Creates an instance of aParametersSourcerecord class.- Parameters:
accessor- the value for theaccessorrecord componentfilterEmptyStringValues- the value for thefilterEmptyStringValuesrecord componentmapperQualifier- the value for themapperQualifierrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
accessor
-
filterEmptyStringValues
public boolean filterEmptyStringValues()Returns the value of thefilterEmptyStringValuesrecord component.- Returns:
- the value of the
filterEmptyStringValuesrecord component
-
mapperQualifier
Returns the value of themapperQualifierrecord component.- Returns:
- the value of the
mapperQualifierrecord component
-