クラスの使用
org.springframework.http.converter.HttpMessageNotWritableException
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 voidAbstractGenericHttpMessageConverter.write(T t, TypeSE type, MediaType contentType, HttpOutputMessage outputMessage) final voidAbstractHttpMessageConverter.write(T t, MediaType contentType, HttpOutputMessage outputMessage) voidBufferedImageHttpMessageConverter.write(BufferedImageSE image, MediaType contentType, HttpOutputMessage outputMessage) voidFormHttpMessageConverter.write(MultiValueMap<StringSE, ?> map, MediaType contentType, HttpOutputMessage outputMessage) voidGenericHttpMessageConverter.write(T t, TypeSE type, MediaType contentType, HttpOutputMessage outputMessage) 指定されたオブジェクトを指定された出力メッセージに書き込みます。voidHttpMessageConverter.write(T t, MediaType contentType, HttpOutputMessage outputMessage) 指定されたオブジェクトを指定された出力メッセージに書き込みます。protected voidResourceHttpMessageConverter.writeContent(Resource resource, HttpOutputMessage outputMessage) protected abstract voidAbstractGenericHttpMessageConverter.writeInternal(T t, TypeSE type, HttpOutputMessage outputMessage) 実際の本文を書き込む抽象テンプレートメソッド。protected voidAbstractGenericHttpMessageConverter.writeInternal(T t, HttpOutputMessage outputMessage) protected abstract voidAbstractHttpMessageConverter.writeInternal(T t, HttpOutputMessage outputMessage) 実際の本文を書き込む抽象テンプレートメソッド。protected final voidAbstractKotlinSerializationHttpMessageConverter.writeInternal(ObjectSE object, TypeSE type, HttpOutputMessage outputMessage) protected abstract voidAbstractKotlinSerializationHttpMessageConverter.writeInternal(ObjectSE object, kotlinx.serialization.KSerializer<ObjectSE> serializer, T format, HttpOutputMessage outputMessage) 指定されたオブジェクトを、指定されたシリアライザーとフォーマットで出力メッセージに書き込みます。protected voidKotlinSerializationBinaryHttpMessageConverter.writeInternal(ObjectSE object, kotlinx.serialization.KSerializer<ObjectSE> serializer, T format, HttpOutputMessage outputMessage) protected voidKotlinSerializationStringHttpMessageConverter.writeInternal(ObjectSE object, kotlinx.serialization.KSerializer<ObjectSE> serializer, T format, HttpOutputMessage outputMessage) protected voidResourceHttpMessageConverter.writeInternal(Resource resource, HttpOutputMessage outputMessage) protected voidResourceRegionHttpMessageConverter.writeInternal(ObjectSE object, TypeSE type, HttpOutputMessage outputMessage) org.springframework.http.converter.feed 内の HttpMessageNotWritableException 使用
修飾子と型メソッド説明protected voidAbstractWireFeedHttpMessageConverter.writeInternal(T wireFeed, HttpOutputMessage outputMessage) org.springframework.http.converter.json 内の HttpMessageNotWritableException 使用
修飾子と型メソッド説明protected voidAbstractJackson2HttpMessageConverter.writeInternal(ObjectSE object, TypeSE type, HttpOutputMessage outputMessage) protected final voidAbstractJsonHttpMessageConverter.writeInternal(ObjectSE object, TypeSE type, HttpOutputMessage outputMessage) org.springframework.http.converter.protobuf 内の HttpMessageNotWritableException 使用
修飾子と型メソッド説明protected voidProtobufHttpMessageConverter.writeInternal(com.google.protobuf.Message message, HttpOutputMessage outputMessage) org.springframework.http.converter.xml 内の HttpMessageNotWritableException 使用
修飾子と型メソッド説明voidJaxb2CollectionHttpMessageConverter.write(T t, TypeSE type, MediaType contentType, HttpOutputMessage outputMessage) protected final voidAbstractXmlHttpMessageConverter.writeInternal(T t, HttpOutputMessage outputMessage) protected voidSourceHttpMessageConverter.writeInternal(T t, HttpOutputMessage outputMessage) org.springframework.web.servlet.mvc.method.annotation 内の HttpMessageNotWritableException 使用
型 HttpMessageNotWritableException のパラメーターを持つ org.springframework.web.servlet.mvc.method.annotation のメソッド修飾子と型メソッド説明protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleHttpMessageNotWritable(HttpMessageNotWritableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HttpMessageNotWritableExceptionの処理をカスタマイズします。修飾子と型メソッド説明voidRequestResponseBodyMethodProcessor.handleReturnValue(ObjectSE returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) protected <T> voidAbstractMessageConverterMethodProcessor.writeWithMessageConverters(T value, MethodParameter returnType, ServletServerHttpRequest inputMessage, ServletServerHttpResponse outputMessage) 指定された戻り値の型を指定された出力メッセージに書き込みます。protected <T> voidAbstractMessageConverterMethodProcessor.writeWithMessageConverters(T value, MethodParameter returnType, NativeWebRequest webRequest) 指定された戻り値を指定された Web リクエストに書き込みます。org.springframework.web.servlet.mvc.support 内の HttpMessageNotWritableException 使用
型 HttpMessageNotWritableException のパラメーターを持つ org.springframework.web.servlet.mvc.support のメソッド修飾子と型メソッド説明protected ModelAndViewDefaultHandlerExceptionResolver.handleHttpMessageNotWritable(HttpMessageNotWritableException ex, HttpServletRequestEE request, HttpServletResponseEE response, ObjectSE handler) メッセージコンバーターが HTTP レスポンスに書き込めない場合に対処します。