Example usage for org.springframework.web.bind ServletRequestUtils getDoubleParameters

List of usage examples for org.springframework.web.bind ServletRequestUtils getDoubleParameters

Introduction

In this page you can find the example usage for org.springframework.web.bind ServletRequestUtils getDoubleParameters.

Prototype

public static double[] getDoubleParameters(ServletRequest request, String name) 

Source Link

Document

Get an array of double parameters, return an empty array if not found.

Usage

From source file:com.netease.channel.util.ServletUtils.java

/**
 * Get an array of long parameters, return an empty array if not found.
 *
 * @param request//from w w w.j a  v a  2s  . c  o  m
 *            current HTTP request
 * @param name
 *            the name of the parameter with multiple possible values
 */
public static double[] getDoubles(ServletRequest request, String name) {
    return ServletRequestUtils.getDoubleParameters(request, name);
}