Class UnsupportedMediaTypeWebAppException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.ws.rs.WebApplicationException
-
- org.restlet.ext.jaxrs.internal.exceptions.UnsupportedMediaTypeWebAppException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class UnsupportedMediaTypeWebAppException extends javax.ws.rs.WebApplicationExceptionDeprecated.Will be removed in next minor release.The server is refusing to service the request because the entity of the request is in a format not accepted by the requested resource for the requested method.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<javax.ws.rs.core.Variant>acceptedDeprecated.private static longserialVersionUIDDeprecated.
-
Constructor Summary
Constructors Constructor Description UnsupportedMediaTypeWebAppException(java.util.Collection<javax.ws.rs.core.Variant> accepted)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Collection<javax.ws.rs.core.Variant>getAccepted()Deprecated.Returns the acceptedVariants.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.- See Also:
- Constant Field Values
-
accepted
private final java.util.Collection<javax.ws.rs.core.Variant> accepted
Deprecated.
-
-