UnsupportedMediaTypeStatusException
を推奨 @DeprecatedSE public class MediaTypeNotSupportedStatusException extends ResponseStatusException
コンストラクターと説明 |
---|
MediaTypeNotSupportedStatusException(ListSE<MediaType> supportedMediaTypes) 使用すべきではありません。 Content-Type がサポートされていない場合のコンストラクター。 |
MediaTypeNotSupportedStatusException(StringSE reason) 使用すべきではありません。 Content-Type が無効な場合のコンストラクター。 |
修飾子と型 | メソッドと説明 |
---|---|
ListSE<MediaType> | getSupportedMediaTypes() 使用すべきではありません。 Accept ヘッダーが解析されているがサポートされていない場合は、サポートされているコンテンツ型のリストを返し、そうでない場合は空のリストを返します。 |
getHeaders, getMessage, getRawStatusCode, getReason, getResponseHeaders, getStatus
contains, getMostSpecificCause, getRootCause
addSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public MediaTypeNotSupportedStatusException(StringSE reason)