public abstract class AnnotationJsonviewReturnValueHandler<T> extends AbstractJsonviewReturnValueHandler<T>
jsonviewFactory| 构造器和说明 |
|---|
AnnotationJsonviewReturnValueHandler(JsonviewFactory jsonviewFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
namespace(T returnValue,
org.springframework.core.MethodParameter methodParameter)
取得 jsonview template 命名空间
|
protected String |
templateId(T returnValue,
org.springframework.core.MethodParameter methodParameter)
取得 jsonview template id
|
createOutputMessage, dataModel, getJsonEncoding, handleReturnValue, returnType, supportsReturnTypepublic AnnotationJsonviewReturnValueHandler(JsonviewFactory jsonviewFactory)
protected String namespace(T returnValue, org.springframework.core.MethodParameter methodParameter)
AbstractJsonviewReturnValueHandlernamespace 在类中 AbstractJsonviewReturnValueHandler<T>protected String templateId(T returnValue, org.springframework.core.MethodParameter methodParameter)
AbstractJsonviewReturnValueHandlertemplateId 在类中 AbstractJsonviewReturnValueHandler<T>Copyright © 2017. All rights reserved.