Class Param


  • public class Param
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Param.Role
      The various roles of the known parameters.
    • Constructor Summary

      Constructors 
      Constructor Description
      Param​(int idx, java.lang.Class<?> type, java.lang.annotation.Annotation[] annos)  
    • Field Detail

      • index

        public int index
      • type

        public java.lang.Class<?> type
    • Constructor Detail

      • Param

        public Param​(int idx,
                     java.lang.Class<?> type,
                     java.lang.annotation.Annotation[] annos)
    • Method Detail

      • getAnnotation

        public <A extends java.lang.annotation.Annotation> A getAnnotation​(java.lang.Class<A> annotationClass)
      • getPathParamName

        public java.lang.String getPathParamName()
      • isValid

        public boolean isValid()
      • setPathParamName

        public void setPathParamName​(java.lang.String name)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • unbind

        public void unbind()