public class DurationParam
extends io.dropwizard.jersey.params.AbstractParam<org.opennms.newts.api.Duration>
Duration instances from a string
specifier. Non-parseable values will result in a 400 Bad Request response.| Constructor and Description |
|---|
DurationParam(String input) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
errorMessage(String input,
Exception e) |
protected org.opennms.newts.api.Duration |
parse(String input) |
Copyright © 2019. All rights reserved.