Class MultiValuedCollectionParamConverter
java.lang.Object
org.jboss.resteasy.plugins.providers.MultiValuedAbstractParamConverter
org.jboss.resteasy.plugins.providers.MultiValuedCollectionParamConverter
- All Implemented Interfaces:
ParamConverter<Collection<?>>
public class MultiValuedCollectionParamConverter
extends MultiValuedAbstractParamConverter
implements ParamConverter<Collection<?>>
- Author:
- Marek Kopecky mkopecky@redhat.com, Ron Sigal rsigal@redhat.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.ws.rs.ext.ParamConverter
ParamConverter.Lazy -
Field Summary
Fields inherited from class org.jboss.resteasy.plugins.providers.MultiValuedAbstractParamConverter
headerDelegate, paramConverter, separator, stringParameterInjector -
Constructor Summary
ConstructorsConstructorDescriptionMultiValuedCollectionParamConverter(StringParameterInjector stringParameterInjector, String separator, Constructor<?> constructor) -
Method Summary
Modifier and TypeMethodDescriptionCollection<?>fromString(String param) Parse the supplied value and create an instance ofT.toString(Collection<?> value) Convert the supplied value to a String.Methods inherited from class org.jboss.resteasy.plugins.providers.MultiValuedAbstractParamConverter
getSeparatorChar, stringify
-
Constructor Details
-
MultiValuedCollectionParamConverter
public MultiValuedCollectionParamConverter(StringParameterInjector stringParameterInjector, String separator, Constructor<?> constructor)
-
-
Method Details
-
toString
Description copied from interface:ParamConverterConvert the supplied value to a String.This method is reserved for future use. Proprietary JAX-RS extensions may leverage the method. Users should be aware that any such support for the method comes at the expense of producing non-portable code.
- Specified by:
toStringin interfaceParamConverter<Collection<?>>- Parameters:
value- the value of typeT.- Returns:
- a String representation of the value.
-
fromString
Description copied from interface:ParamConverterParse the supplied value and create an instance ofT.- Specified by:
fromStringin interfaceParamConverter<Collection<?>>- Parameters:
param- the string value.- Returns:
- the newly created instance of
T.
-