@Mapping(value="/param") @Controller public class ParamController extends java.lang.Object
构造器和说明 |
---|
ParamController() |
限定符和类型 | 方法和说明 |
---|---|
Result |
demo1(Context ctx,
UploadedFile file) |
void |
demo10(DeviceParamBean bean) |
void |
demo11(java.util.List<DeviceParamBean> bean) |
void |
demo12() |
void |
demo2_2(java.lang.String name) |
void |
demo2_3(java.lang.String name,
java.lang.String type) |
void |
demo2_4(java.lang.String name,
java.lang.String type) |
void |
demo2(java.lang.String name) |
void |
demo3(java.lang.String body) |
void |
demo4(java.util.Map<java.lang.String,java.lang.String> body) |
@Mapping(value="demo1") public Result demo1(Context ctx, UploadedFile file)
@Mapping(value="demo2-3") public void demo2_3(@Cookie java.lang.String name, java.lang.String type)
@Mapping(value="demo2-4/{name}") public void demo2_4(@Path java.lang.String name, java.lang.String type)
@Mapping(value="demo4") public void demo4(@Body java.util.Map<java.lang.String,java.lang.String> body)
@Mapping(value="demo10") public void demo10(DeviceParamBean bean)
@Post @Mapping(value="demo11") public void demo11(@Body java.util.List<DeviceParamBean> bean)