public class UUIDParam extends AbstractParam<UUID>
400 Bad
Request response.| Modifier and Type | Method and Description |
|---|---|
protected String |
errorMessage(String input,
Exception e)
Given a string representation which was unable to be parsed and the exception thrown, produce
an entity to be sent to the client.
|
protected UUID |
parse(String input)
Given a string representation, parse it and return an instance of the parameter type.
|
equals, error, get, getErrorStatus, hashCode, mediaType, toStringpublic UUIDParam(String input)
protected String errorMessage(String input, Exception e)
AbstractParamerrorMessage in class AbstractParam<UUID>input - the raw input valuee - the exception thrown while parsing inputprotected UUID parse(String input) throws Exception
AbstractParamparse in class AbstractParam<UUID>input - the raw inputinput, parsed as an instance of TException - if there is an error parsing the inputCopyright © 2015. All rights reserved.