public class Param
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
Param.Role |
The various roles of the known parameters.
|
Modifier and Type | Field | Description |
---|---|---|
int |
index |
|
Param.Role |
role |
|
java.lang.Class<?> |
type |
Constructor | Description |
---|---|
Param(int idx,
java.lang.Class<?> type,
java.lang.annotation.Annotation[] annos) |
Modifier and Type | Method | Description |
---|---|---|
void |
bind(Param.Role role) |
|
<A extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<A> annotationClass) |
|
java.lang.String |
getPathParamName() |
|
boolean |
isValid() |
|
void |
setPathParamName(java.lang.String name) |
|
java.lang.String |
toString() |
|
void |
unbind() |
public int index
public java.lang.Class<?> type
public Param.Role role
public Param(int idx, java.lang.Class<?> type, java.lang.annotation.Annotation[] annos)
public void bind(Param.Role role)
public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationClass)
public java.lang.String getPathParamName()
public boolean isValid()
public void setPathParamName(java.lang.String name)
public java.lang.String toString()
toString
in class java.lang.Object
public void unbind()
Copyright © 1995–2018 Webtide. All rights reserved.