| Package | Description |
|---|---|
| org.coodex.concrete.jaxrs | |
| org.coodex.concrete.jaxrs.struct |
| Modifier and Type | Method and Description |
|---|---|
static JaxrsUnit |
JaxRSHelper.getUnitFrom(Class clz,
Method method) |
static JaxrsUnit |
JaxRSHelper.getUnitFromContext(DefinitionContext context) |
| Modifier and Type | Method and Description |
|---|---|
static String |
Predicates.getHttpMethod(JaxrsUnit unit)
默认的谓词:
update(更新)/set(更新部分)开头,使用PUT
new(获取初始值)/get(根据id获取)/find(查询)开头,使用GET
del,使用DELETE
save, POST
其它:
无参数时用GET
其余POST
可通过jaxrs.predicates.properties重载
|
static JaxrsParam |
JaxRSHelper.getSubmitBody(JaxrsUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
protected JaxrsUnit |
JaxrsModule.buildUnit(Method method) |
protected JaxrsUnit[] |
JaxrsModule.toArrays(List<JaxrsUnit> units) |
| Modifier and Type | Method and Description |
|---|---|
protected JaxrsUnit[] |
JaxrsModule.toArrays(List<JaxrsUnit> units) |
Copyright © 2020. All rights reserved.