Package | Description |
---|---|
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
Modifier and Type | Method and Description |
---|---|
protected MappingJacksonValue |
AbstractMappingJacksonResponseBodyAdvice.getOrCreateContainer(Object body)
Wrap the body in a
MappingJacksonValue value container (for providing
additional serialization instructions) or simply cast it if already wrapped. |
Modifier and Type | Method and Description |
---|---|
protected void |
JsonViewResponseBodyAdvice.beforeBodyWriteInternal(MappingJacksonValue bodyContainer,
MediaType contentType,
MethodParameter returnType,
ServerHttpRequest request,
ServerHttpResponse response) |
protected void |
AbstractJsonpResponseBodyAdvice.beforeBodyWriteInternal(MappingJacksonValue bodyContainer,
MediaType contentType,
MethodParameter returnType,
ServerHttpRequest request,
ServerHttpResponse response)
Deprecated.
|
protected abstract void |
AbstractMappingJacksonResponseBodyAdvice.beforeBodyWriteInternal(MappingJacksonValue bodyContainer,
MediaType contentType,
MethodParameter returnType,
ServerHttpRequest request,
ServerHttpResponse response)
Invoked only if the converter type is
MappingJackson2HttpMessageConverter . |