Interface ServerResponse.Context
- Enclosing interface:
ServerResponse
public static interface ServerResponse.Context
Defines the context used during the
ServerResponse.writeTo(HttpServletRequest, HttpServletResponse, Context).- Since:
- 5.2
- Author:
- Arjen Poutsma
-
Method Summary
Modifier and TypeMethodDescriptionList<org.springframework.http.converter.HttpMessageConverter<?>> Return theHttpMessageConvertersto be used for response body conversion.
-
Method Details
-
messageConverters
List<org.springframework.http.converter.HttpMessageConverter<?>> messageConverters()Return theHttpMessageConvertersto be used for response body conversion.- Returns:
- the list of message writers
-