public class Restful extends Object implements Interceptor
| Constructor and Description |
|---|
Restful() |
| Modifier and Type | Method and Description |
|---|---|
void |
intercept(Invocation inv)
add edit 无需处理
GET /user ---> index
GET /user/id ---> show
POST /user ---> save
PUT /user/id ---> update
DELECT /user/id ---> delete
|
public void intercept(Invocation inv)
intercept in interface InterceptorCopyright © 2018. All rights reserved.