クラスの使用
org.springframework.http.converter.json.MappingJacksonValue
パッケージ
説明
org.springframework.web.method.annotation
パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。org.springframework.web.servlet.mvc.method.annotation 内の MappingJacksonValue 使用
修飾子と型メソッド説明protected MappingJacksonValue
AbstractMappingJacksonResponseBodyAdvice.getOrCreateContainer
(ObjectSE body) 本体をMappingJacksonValue
値コンテナーでラップするか(追加の直列化手順を提供するため)、すでにラップされている場合は単にキャストします。修飾子と型メソッド説明protected abstract void
AbstractMappingJacksonResponseBodyAdvice.beforeBodyWriteInternal
(MappingJacksonValue bodyContainer, MediaType contentType, MethodParameter returnType, ServerHttpRequest request, ServerHttpResponse response) コンバーター型がMappingJackson2HttpMessageConverter
の場合にのみ呼び出されます。protected void
JsonViewResponseBodyAdvice.beforeBodyWriteInternal
(MappingJacksonValue bodyContainer, MediaType contentType, MethodParameter returnType, ServerHttpRequest request, ServerHttpResponse response)