Class MultiValuedArrayParamConverter
- java.lang.Object
-
- org.jboss.resteasy.plugins.providers.MultiValuedAbstractParamConverter
-
- org.jboss.resteasy.plugins.providers.MultiValuedArrayParamConverter
-
- All Implemented Interfaces:
ParamConverter<Object>
public class MultiValuedArrayParamConverter extends MultiValuedAbstractParamConverter implements ParamConverter<Object>
- 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
Constructors Constructor Description MultiValuedArrayParamConverter(StringParameterInjector stringParameterInjector, String separator, Class<?> rawType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectfromString(String param)Parse the supplied value and create an instance ofT.StringtoString(Object value)Convert the supplied value to a String.-
Methods inherited from class org.jboss.resteasy.plugins.providers.MultiValuedAbstractParamConverter
getSeparatorChar, stringify
-
-
-
-
Constructor Detail
-
MultiValuedArrayParamConverter
public MultiValuedArrayParamConverter(StringParameterInjector stringParameterInjector, String separator, Class<?> rawType)
-
-
Method Detail
-
toString
public String toString(Object value)
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<Object>- Parameters:
value- the value of typeT.- Returns:
- a String representation of the value.
-
fromString
public Object fromString(String param)
Description copied from interface:ParamConverterParse the supplied value and create an instance ofT.- Specified by:
fromStringin interfaceParamConverter<Object>- Parameters:
param- the string value.- Returns:
- the newly created instance of
T.
-
-