类 ServletRequestParameterPropertyValues

    • 构造器详细资料

      • ServletRequestParameterPropertyValues

        public ServletRequestParameterPropertyValues​(ServletRequest request,
                                                     String prefix)
        Create new ServletRequestPropertyValues using the given prefix and the default prefix separator (the underscore character "_").
        参数:
        request - HTTP request
        prefix - the prefix for parameters (the full prefix will consist of this plus the separator)
        另请参阅:
        DEFAULT_PREFIX_SEPARATOR
      • ServletRequestParameterPropertyValues

        public ServletRequestParameterPropertyValues​(ServletRequest request,
                                                     String prefix,
                                                     String prefixSeparator)
        Create new ServletRequestPropertyValues supplying both prefix and prefix separator.
        参数:
        request - HTTP request
        prefix - the prefix for parameters (the full prefix will consist of this plus the separator)
        prefixSeparator - separator delimiting prefix (e.g. "spring") and the rest of the parameter name ("param1", "param2")