| 程序包 | 说明 |
|---|---|
| com.github.yongchristophertang.engine.web | |
| com.github.yongchristophertang.engine.web.response |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
ResultActions.andTransform(ResultTransform<T> transformer)
Provide a transformation of the result.
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T> ResultTransform<List<T>> |
JsonResultTransformer.list(Class<T> clazz)
Transform the json result to a list with T as its member class.
|
<K,V> ResultTransform<Map<K,V>> |
JsonResultTransformer.map(Class<K> keyClass,
Class<V> valueClass)
Transform the json result to a map with K as its key class and V as its value class.
|
<T> ResultTransform<T> |
JsonResultTransformer.object(Class<T> clazz)
Transform the json result to an instance of T.
|
ResultTransform<ResultActions> |
JsonResultTransformer.parse(String expression)
Parse the result into a sub part json via evaluation of expression.
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
DefaultResultActions.andTransform(ResultTransform<T> transformer)
Provide a transformation of the result.
|
Copyright © 2016. All rights reserved.