public class InvalidMediaTypeException extends IllegalArgumentException
MediaType.parseMediaType(String) in case of
encountering an invalid media type specification String.| 构造器和说明 |
|---|
InvalidMediaTypeException(String mediaType,
String message)
Create a new InvalidMediaTypeException for the given media type.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getMediaType()
Return the offending media type.
|
public String getMediaType()
Copyright © 2021. All rights reserved.