Package io.dropwizard.jersey.params
Class IntParam
Deprecated.
A parameter encapsulating integer values. All non-decimal values will return a
400 Bad Request response.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringDeprecated.Given a string representation which was unable to be parsed and the exception thrown, produce an error message to be sent to the client.protected IntegerDeprecated.Given a string representation, parse it and return an instance of the parameter type.Methods inherited from class io.dropwizard.jersey.params.AbstractParam
equals, error, generateErrorMessage, get, getErrorStatus, hashCode, mediaType, toString
-
Constructor Details
-
IntParam
Deprecated. -
IntParam
Deprecated.
-
-
Method Details
-
errorMessage
Deprecated.Description copied from class:AbstractParamGiven a string representation which was unable to be parsed and the exception thrown, produce an error message to be sent to the client.- Overrides:
errorMessagein classAbstractParam<Integer>- Parameters:
e- the exception thrown while parsinginput- Returns:
- the error message to be sent the client
-
parse
Deprecated.Description copied from class:AbstractParamGiven a string representation, parse it and return an instance of the parameter type.- Specified by:
parsein classAbstractParam<Integer>- Parameters:
input- the raw input- Returns:
input, parsed as an instance ofT
-
OptionalIntinstead.