public class StreamingResponseBodyReturnValueHandler extends Object implements org.springframework.web.method.support.HandlerMethodReturnValueHandler
StreamingResponseBody
and also ResponseEntity<StreamingResponseBody>
.Constructor and Description |
---|
StreamingResponseBodyReturnValueHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleReturnValue(Object returnValue,
org.springframework.core.MethodParameter returnType,
org.springframework.web.method.support.ModelAndViewContainer mavContainer,
org.springframework.web.context.request.NativeWebRequest webRequest) |
boolean |
supportsReturnType(org.springframework.core.MethodParameter returnType) |
public StreamingResponseBodyReturnValueHandler()
public boolean supportsReturnType(org.springframework.core.MethodParameter returnType)
supportsReturnType
in interface org.springframework.web.method.support.HandlerMethodReturnValueHandler
public void handleReturnValue(@Nullable 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.HandlerMethodReturnValueHandler
Exception