OptionalLong instead.@Deprecated public class LongParam extends AbstractParam<Long>
400 Bad
Request response.| Constructor and Description |
|---|
LongParam(String input)
Deprecated.
|
LongParam(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 Long |
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<Long>e - the exception thrown while parsing inputprotected Long parse(@Nullable String input)
AbstractParamparse in class AbstractParam<Long>input - the raw inputinput, parsed as an instance of TCopyright © 2011. All rights reserved.