public class DoubleParameter extends HTTPParameter
Constructor and Description |
---|
DoubleParameter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getValue() |
double[] |
getValues() |
boolean |
hasValues() |
void |
initialize(java.io.InputStream stream)
Initialize this parameter based on input stream
Override this method if you want to accept HTTP Body data.
|
void |
initialize(java.util.List<java.lang.String> parameterValues)
Initialize this parameter based on the given parameter values
|
void |
initialize(java.lang.String parameterValue)
Initialize this parameter based on the given parameter value
|
getParameterName, initializeRaw, initializeRaw, setParameterName
public DoubleParameter()
public void initialize(java.util.List<java.lang.String> parameterValues) throws java.lang.IllegalArgumentException
HTTPParameter
initialize
in class HTTPParameter
parameterValues
- can NOT be nulljava.lang.IllegalArgumentException
- on bad input datapublic double[] getValues()
public java.lang.Double getValue()
getValue
in class HTTPParameter
public boolean hasValues()
hasValues
in class HTTPParameter
public void initialize(java.lang.String parameterValue) throws java.lang.IllegalArgumentException
HTTPParameter
initialize
in class HTTPParameter
parameterValue
- can be nulljava.lang.IllegalArgumentException
- on bad input datapublic void initialize(java.io.InputStream stream) throws java.lang.IllegalArgumentException
HTTPParameter
initialize
in class HTTPParameter
stream
- can be nulljava.lang.IllegalArgumentException
- on bad input dataCopyright © 2015 Tampere University of Technology, Pori Department.