クラスの使用
org.springframework.http.converter.HttpMessageNotWritableException
パッケージ
説明
HttpMessageConverter 抽象化を提供して、Java オブジェクトと HTTP 入出力メッセージ間で変換します。
Atom および RSS フィードを処理するための HttpMessageConverter 実装を提供します。
JSON を処理するための HttpMessageConverter 実装を提供します。
Google プロトコルバッファを処理するための HttpMessageConverter 実装を提供します。
XML を処理するための HttpMessageConverter 実装を提供します。
org.springframework.web.method.annotation
パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。MVC コントローラーのサポートパッケージ。
org.springframework.http.converter 内の HttpMessageNotWritableException 使用
修飾子と型メソッド説明final void
AbstractGenericHttpMessageConverter.write
(T t, TypeSE type, MediaType contentType, HttpOutputMessage outputMessage) final void
AbstractHttpMessageConverter.write
(T t, MediaType contentType, HttpOutputMessage outputMessage) void
BufferedImageHttpMessageConverter.write
(BufferedImageSE image, MediaType contentType, HttpOutputMessage outputMessage) void
FormHttpMessageConverter.write
(MultiValueMap<StringSE, ?> map, MediaType contentType, HttpOutputMessage outputMessage) void
GenericHttpMessageConverter.write
(T t, TypeSE type, MediaType contentType, HttpOutputMessage outputMessage) 指定されたオブジェクトを指定された出力メッセージに書き込みます。void
HttpMessageConverter.write
(T t, MediaType contentType, HttpOutputMessage outputMessage) 指定されたオブジェクトを指定された出力メッセージに書き込みます。protected void
ResourceHttpMessageConverter.writeContent
(Resource resource, HttpOutputMessage outputMessage) protected abstract void
AbstractGenericHttpMessageConverter.writeInternal
(T t, TypeSE type, HttpOutputMessage outputMessage) 実際の本文を書き込む抽象テンプレートメソッド。protected void
AbstractGenericHttpMessageConverter.writeInternal
(T t, HttpOutputMessage outputMessage) protected abstract void
AbstractHttpMessageConverter.writeInternal
(T t, HttpOutputMessage outputMessage) 実際の本文を書き込む抽象テンプレートメソッド。protected final void
AbstractKotlinSerializationHttpMessageConverter.writeInternal
(ObjectSE object, TypeSE type, HttpOutputMessage outputMessage) protected abstract void
AbstractKotlinSerializationHttpMessageConverter.writeInternal
(ObjectSE object, kotlinx.serialization.KSerializer<ObjectSE> serializer, T format, HttpOutputMessage outputMessage) 指定されたオブジェクトを、指定されたシリアライザーとフォーマットで出力メッセージに書き込みます。protected void
KotlinSerializationBinaryHttpMessageConverter.writeInternal
(ObjectSE object, kotlinx.serialization.KSerializer<ObjectSE> serializer, T format, HttpOutputMessage outputMessage) protected void
KotlinSerializationStringHttpMessageConverter.writeInternal
(ObjectSE object, kotlinx.serialization.KSerializer<ObjectSE> serializer, T format, HttpOutputMessage outputMessage) protected void
ResourceHttpMessageConverter.writeInternal
(Resource resource, HttpOutputMessage outputMessage) protected void
ResourceRegionHttpMessageConverter.writeInternal
(ObjectSE object, TypeSE type, HttpOutputMessage outputMessage) org.springframework.http.converter.feed 内の HttpMessageNotWritableException 使用
修飾子と型メソッド説明protected void
AbstractWireFeedHttpMessageConverter.writeInternal
(T wireFeed, HttpOutputMessage outputMessage) org.springframework.http.converter.json 内の HttpMessageNotWritableException 使用
修飾子と型メソッド説明protected void
AbstractJackson2HttpMessageConverter.writeInternal
(ObjectSE object, TypeSE type, HttpOutputMessage outputMessage) protected final void
AbstractJsonHttpMessageConverter.writeInternal
(ObjectSE object, TypeSE type, HttpOutputMessage outputMessage) org.springframework.http.converter.protobuf 内の HttpMessageNotWritableException 使用
修飾子と型メソッド説明protected void
ProtobufHttpMessageConverter.writeInternal
(com.google.protobuf.Message message, HttpOutputMessage outputMessage) org.springframework.http.converter.xml 内の HttpMessageNotWritableException 使用
修飾子と型メソッド説明void
Jaxb2CollectionHttpMessageConverter.write
(T t, TypeSE type, MediaType contentType, HttpOutputMessage outputMessage) protected final void
AbstractXmlHttpMessageConverter.writeInternal
(T t, HttpOutputMessage outputMessage) protected void
SourceHttpMessageConverter.writeInternal
(T t, HttpOutputMessage outputMessage) org.springframework.web.servlet.mvc.method.annotation 内の HttpMessageNotWritableException 使用
修飾子と型メソッド説明protected ResponseEntity<ObjectSE>
ResponseEntityExceptionHandler.handleHttpMessageNotWritable
(HttpMessageNotWritableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HttpMessageNotWritableException
の処理をカスタマイズします。修飾子と型メソッド説明void
RequestResponseBodyMethodProcessor.handleReturnValue
(ObjectSE returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) protected <T> void
AbstractMessageConverterMethodProcessor.writeWithMessageConverters
(T value, MethodParameter returnType, ServletServerHttpRequest inputMessage, ServletServerHttpResponse outputMessage) 指定された戻り値の型を指定された出力メッセージに書き込みます。protected <T> void
AbstractMessageConverterMethodProcessor.writeWithMessageConverters
(T value, MethodParameter returnType, NativeWebRequest webRequest) 指定された戻り値を指定された Web リクエストに書き込みます。org.springframework.web.servlet.mvc.support 内の HttpMessageNotWritableException 使用
修飾子と型メソッド説明protected ModelAndView
DefaultHandlerExceptionResolver.handleHttpMessageNotWritable
(HttpMessageNotWritableException ex, HttpServletRequestEE request, HttpServletResponseEE response, ObjectSE handler) メッセージコンバーターが HTTP リクエストに書き込めない場合に対処します。