public abstract class AbstractResponseFormat extends LinkedHashMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 构造器和说明 |
|---|
AbstractResponseFormat() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.web.servlet.ModelAndView |
buildResponse(RETURN head,
Object result)
构建响应报文体
|
abstract Map<String,Object> |
buildResponseData(RETURN head,
Object result)
构建返回数据
|
void |
initAgileReturn()
根据报文模板数据转换为对应得Agile报文
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic abstract Map<String,Object> buildResponseData(RETURN head, Object result)
head - 头部信息result - 体public org.springframework.web.servlet.ModelAndView buildResponse(RETURN head, Object result)
head - 头信息result - 体信息public void initAgileReturn()
Copyright © 2022. All rights reserved.