Uses of Class
org.springframework.http.converter.HttpMessageNotWritableException
Packages that use HttpMessageNotWritableException Package Description org.springframework.http.converter Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.org.springframework.http.converter.feed Provides HttpMessageConverter implementations for handling Atom and RSS feeds.org.springframework.http.converter.json Provides HttpMessageConverter implementations for handling JSON.org.springframework.http.converter.protobuf Provides an HttpMessageConverter implementation for handling Google Protocol Buffers.org.springframework.http.converter.xml Provides HttpMessageConverter implementations for handling XML.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotationpackage.org.springframework.web.servlet.mvc.support Support package for MVC controllers.Uses of HttpMessageNotWritableException in org.springframework.http.converter
Methods in org.springframework.http.converter that throw HttpMessageNotWritableException Modifier and Type Method Description voidAbstractGenericHttpMessageConverter. write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage)This implementation sets the default headers by callingAbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType), and then callsAbstractGenericHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage).voidAbstractHttpMessageConverter. write(T t, MediaType contentType, HttpOutputMessage outputMessage)This implementation sets the default headers by callingAbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType), and then callsAbstractHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage).voidBufferedImageHttpMessageConverter. write(BufferedImage image, MediaType contentType, HttpOutputMessage outputMessage)voidFormHttpMessageConverter. write(MultiValueMap<String,?> map, MediaType contentType, HttpOutputMessage outputMessage)voidGenericHttpMessageConverter. write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage)Write an given object to the given output message.voidHttpMessageConverter. write(T t, MediaType contentType, HttpOutputMessage outputMessage)Write an given object to the given output message.protected voidResourceHttpMessageConverter. writeContent(Resource resource, HttpOutputMessage outputMessage)protected abstract voidAbstractGenericHttpMessageConverter. writeInternal(T t, Type type, HttpOutputMessage outputMessage)Abstract template method that writes the actual body.protected voidAbstractGenericHttpMessageConverter. writeInternal(T t, HttpOutputMessage outputMessage)protected abstract voidAbstractHttpMessageConverter. writeInternal(T t, HttpOutputMessage outputMessage)Abstract template method that writes the actual body.protected voidResourceHttpMessageConverter. writeInternal(Resource resource, HttpOutputMessage outputMessage)protected voidResourceRegionHttpMessageConverter. writeInternal(Object object, Type type, HttpOutputMessage outputMessage)Uses of HttpMessageNotWritableException in org.springframework.http.converter.feed
Methods in org.springframework.http.converter.feed that throw HttpMessageNotWritableException Modifier and Type Method Description protected voidAbstractWireFeedHttpMessageConverter. writeInternal(T wireFeed, HttpOutputMessage outputMessage)Uses of HttpMessageNotWritableException in org.springframework.http.converter.json
Methods in org.springframework.http.converter.json that throw HttpMessageNotWritableException Modifier and Type Method Description protected voidAbstractJackson2HttpMessageConverter. writeInternal(Object object, Type type, HttpOutputMessage outputMessage)protected voidAbstractJsonHttpMessageConverter. writeInternal(Object object, Type type, HttpOutputMessage outputMessage)Uses of HttpMessageNotWritableException in org.springframework.http.converter.protobuf
Methods in org.springframework.http.converter.protobuf that throw HttpMessageNotWritableException Modifier and Type Method Description protected voidProtobufHttpMessageConverter. writeInternal(com.google.protobuf.Message message, HttpOutputMessage outputMessage)Uses of HttpMessageNotWritableException in org.springframework.http.converter.xml
Methods in org.springframework.http.converter.xml that throw HttpMessageNotWritableException Modifier and Type Method Description voidJaxb2CollectionHttpMessageConverter. write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage)protected voidAbstractXmlHttpMessageConverter. writeInternal(T t, HttpOutputMessage outputMessage)protected voidSourceHttpMessageConverter. writeInternal(T t, HttpOutputMessage outputMessage)Uses of HttpMessageNotWritableException in org.springframework.web.servlet.mvc.method.annotation
Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type HttpMessageNotWritableException Modifier and Type Method Description protected ResponseEntity<Object>ResponseEntityExceptionHandler. handleHttpMessageNotWritable(HttpMessageNotWritableException ex, HttpHeaders headers, HttpStatus status, WebRequest request)Customize the response for HttpMessageNotWritableException.Methods in org.springframework.web.servlet.mvc.method.annotation that throw HttpMessageNotWritableException Modifier and Type Method Description voidRequestResponseBodyMethodProcessor. handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest)protected <T> voidAbstractMessageConverterMethodProcessor. writeWithMessageConverters(T value, MethodParameter returnType, ServletServerHttpRequest inputMessage, ServletServerHttpResponse outputMessage)Writes the given return type to the given output message.protected <T> voidAbstractMessageConverterMethodProcessor. writeWithMessageConverters(T value, MethodParameter returnType, NativeWebRequest webRequest)Writes the given return value to the given web request.Uses of HttpMessageNotWritableException in org.springframework.web.servlet.mvc.support
Methods in org.springframework.web.servlet.mvc.support with parameters of type HttpMessageNotWritableException Modifier and Type Method Description protected ModelAndViewDefaultHandlerExceptionResolver. handleHttpMessageNotWritable(HttpMessageNotWritableException ex, HttpServletRequest request, HttpServletResponse response, Object handler)Handle the case where a message converter cannot write to an HTTP request.