Optional instead.@Deprecated public class SizeParam extends AbstractParam<Size>
400 Bad
Request response. Supports all input formats the Size class supports.| Constructor and Description |
|---|
SizeParam(String input)
Deprecated.
|
SizeParam(String input,
String parameterName)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
errorMessage(Exception e)
Deprecated.
Given a string representation which was unable to be parsed and the exception thrown, produce
an entity to be sent to the client.
|
protected Size |
parse(String input)
Deprecated.
Given a string representation, parse it and return an instance of the parameter type.
|
equals, error, get, getErrorStatus, hashCode, mediaType, toStringprotected String errorMessage(Exception e)
AbstractParamerrorMessage in class AbstractParam<Size>e - the exception thrown while parsing inputprotected Size parse(@Nullable String input) throws Exception
AbstractParamparse in class AbstractParam<Size>input - the raw inputinput, parsed as an instance of TException - if there is an error parsing the inputCopyright © 2020. All rights reserved.