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