org.jboss.aerogear.controller.router.parameter
Class ConstantParameter<T>
java.lang.Object
org.jboss.aerogear.controller.router.parameter.Parameter<T>
org.jboss.aerogear.controller.router.parameter.ConstantParameter<T>
public class ConstantParameter<T>
- extends Parameter<T>
A constant parameter is specified directly to an endpoint method (not using that param("id") method that is).
A ConstantParameter only has a type and a value.
| Nested classes/interfaces inherited from class org.jboss.aerogear.controller.router.parameter.Parameter |
Parameter.Type |
value
private final T value
ConstantParameter
public ConstantParameter(T value,
Class<T> type)
getValue
public T getValue()
toString
public String toString()
- Overrides:
toString in class Parameter<T>
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.