public abstract class AbstractMappingJacksonValue<T> extends org.springframework.http.converter.json.MappingJacksonValue implements IRestResponse<T>
BODY_KEY, HEAD_KEY| 构造器和说明 |
|---|
AbstractMappingJacksonValue(Object value) |
| 限定符和类型 | 方法和说明 |
|---|---|
AbstractMappingJacksonValue<T> |
filterOutAllExcept(String id,
Set<String> properties)
过滤要输出的属性
|
AbstractMappingJacksonValue<T> |
filterOutAllExcept(String id,
String... propertyArray)
过滤要输出的属性
|
AbstractMappingJacksonValue<T> |
serializeAllExcept(String id,
Set<String> properties)
过滤输出的属性
|
AbstractMappingJacksonValue<T> |
serializeAllExcept(String id,
String... propertyArray)
过滤输出的属性
|
getFilters, getSerializationView, getValue, setFilters, setSerializationView, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdata, getBody, getHeadpublic AbstractMappingJacksonValue(Object value)
public AbstractMappingJacksonValue<T> filterOutAllExcept(String id, String... propertyArray)
id - 过滤器IDpropertyArray - 属性名,在这里出现的属性将会输出。public AbstractMappingJacksonValue<T> filterOutAllExcept(String id, Set<String> properties)
id - 过滤器IDproperties - 属性名,在这里出现的属性将会输出。public AbstractMappingJacksonValue<T> serializeAllExcept(String id, String... propertyArray)
id - 过滤器IDpropertyArray - 属性名,在这里出现的属性将不会输出。public AbstractMappingJacksonValue<T> serializeAllExcept(String id, Set<String> properties)
id - 过滤器IDproperties - 属性名,在这里出现的属性将不会输出。Copyright © 2021. All rights reserved.