public class HttpMediaTypeNotSupportedException extends HttpMediaTypeException
コンストラクターと説明 |
---|
HttpMediaTypeNotSupportedException(MediaType contentType, ListSE<MediaType> supportedMediaTypes) 新しい HttpMediaTypeNotSupportedException を作成します。 |
HttpMediaTypeNotSupportedException(MediaType contentType, ListSE<MediaType> supportedMediaTypes, StringSE msg) 新しい HttpMediaTypeNotSupportedException を作成します。 |
HttpMediaTypeNotSupportedException(StringSE message) 新しい HttpMediaTypeNotSupportedException を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
MediaType | getContentType() 失敗の原因となった HTTP リクエストコンテンツ型メソッドを返します。 |
getSupportedMediaTypes
getRootCauseEE
addSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public HttpMediaTypeNotSupportedException(StringSE message)
message
- 例外メッセージ public HttpMediaTypeNotSupportedException(@Nullable MediaType contentType, ListSE<MediaType> supportedMediaTypes)
contentType
- サポートされていないコンテンツ型 supportedMediaTypes
- サポートされているメディア型のリスト public HttpMediaTypeNotSupportedException(@Nullable MediaType contentType, ListSE<MediaType> supportedMediaTypes, StringSE msg)
contentType
- サポートされていないコンテンツ型 supportedMediaTypes
- サポートされているメディア型のリスト msg
- 詳細メッセージ