构造器和说明 |
---|
Route(HttpMethod httpMethod,
String path,
Class<?> targetType,
Method action) |
Route(HttpMethod httpMethod,
String path,
Object target,
Class<?> targetType,
Method action) |
限定符和类型 | 方法和说明 |
---|---|
Method |
getAction() |
HttpMethod |
getHttpMethod() |
String |
getPath() |
Map<String,String> |
getPathParams() |
int |
getSort() |
Object |
getTarget() |
Class<?> |
getTargetType() |
void |
setPath(String path) |
void |
setPathParams(Map<String,String> pathParams) |
void |
setSort(int sort) |
void |
setTarget(Object target) |
String |
toString() |
public Route(HttpMethod httpMethod, String path, Class<?> targetType, Method action)
public Route(HttpMethod httpMethod, String path, Object target, Class<?> targetType, Method action)
public HttpMethod getHttpMethod()
public String getPath()
public void setPath(String path)
public Object getTarget()
public void setTarget(Object target)
public Method getAction()
public Class<?> getTargetType()
public int getSort()
public void setSort(int sort)
Copyright © 2017. All rights reserved.