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
  • Constructor Details

  • Method Details

    • toString

      public String toString(Collection<?> value)
      Description copied from interface: ParamConverter
      Convert 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:
      toString in interface ParamConverter<Collection<?>>
      Parameters:
      value - the value of type T.
      Returns:
      a String representation of the value.
    • fromString

      public Collection<?> fromString(String param)
      Description copied from interface: ParamConverter
      Parse the supplied value and create an instance of T.
      Specified by:
      fromString in interface ParamConverter<Collection<?>>
      Parameters:
      param - the string value.
      Returns:
      the newly created instance of T.