public class DefaultHttpEntityMethodProcessor extends Object implements org.springframework.web.method.support.HandlerMethodReturnValueHandler, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
DefaultHttpEntityMethodProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
static DefaultHttpEntityMethodProcessor |
defaultHttpEntityMethodProcessor(org.springframework.core.env.PropertyResolver propertyResolver,
Object objectMapper) |
List<org.springframework.http.converter.HttpMessageConverter<?>> |
getMessageConverters() |
void |
handleReturnValue(Object returnValue,
org.springframework.core.MethodParameter returnType,
org.springframework.web.method.support.ModelAndViewContainer mavContainer,
org.springframework.web.context.request.NativeWebRequest webRequest)
handleReturnValue.
|
void |
setContentNegotiationManager(org.springframework.web.accept.ContentNegotiationManager contentNegotiationManager) |
void |
setMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> messageConverters) |
boolean |
supportsReturnType(org.springframework.core.MethodParameter returnType) |
public boolean supportsReturnType(org.springframework.core.MethodParameter returnType)
supportsReturnType in interface org.springframework.web.method.support.HandlerMethodReturnValueHandlerpublic void handleReturnValue(Object returnValue, org.springframework.core.MethodParameter returnType, org.springframework.web.method.support.ModelAndViewContainer mavContainer, org.springframework.web.context.request.NativeWebRequest webRequest) throws Exception
handleReturnValue in interface org.springframework.web.method.support.HandlerMethodReturnValueHandlerreturnValue - must pass a HttpEntity herereturnType - returnTypemavContainer - mavContainerwebRequest - webRequestException - exceptionpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void setContentNegotiationManager(org.springframework.web.accept.ContentNegotiationManager contentNegotiationManager)
public List<org.springframework.http.converter.HttpMessageConverter<?>> getMessageConverters()
public void setMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> messageConverters)
public static DefaultHttpEntityMethodProcessor defaultHttpEntityMethodProcessor(org.springframework.core.env.PropertyResolver propertyResolver, Object objectMapper)
Copyright © 2017. All rights reserved.