Class StringArrayArg

  • All Implemented Interfaces:
    Arg<List<String>>

    public class StringArrayArg
    extends AbstractArrayArg<String>
    Class representing an API argument that should be an array of Strings.
    Author:
    tesarst
    • Method Detail

      • valueOf

        public static StringArrayArg valueOf​(String s)
        Used by RS to parse value of request parameters.
        Parameters:
        s - the request arrayString argument
        Returns:
        an instance of ArrayStringArg representing array of strings from the input string, or a malformed ArrayStringArg that will throw an BadRequestException when accessing its value, if the input String can not be converted into an array of strings.