public class MediaTypeNotSupportedStatusException extends ResponseStatusException
コンストラクターと説明 |
---|
MediaTypeNotSupportedStatusException(ListSE<MediaType> supportedMediaTypes) Content-Type がサポートされていない場合のコンストラクター。 |
MediaTypeNotSupportedStatusException(StringSE reason) Content-Type が無効な場合のコンストラクター。 |
修飾子と型 | メソッドと説明 |
---|---|
ListSE<MediaType> | getSupportedMediaTypes() Accept ヘッダーが解析されているがサポートされていない場合は、サポートされているコンテンツ型のリストを返し、そうでない場合は空のリストを返します。 |
getMessage, getReason, 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)