Class _415MediaNotSupportException

  • All Implemented Interfaces:
    Serializable

    public class _415MediaNotSupportException
    extends io.vertx.up.exception.WebException
    See Also:
    Serialized Form
    • Constructor Detail

      • _415MediaNotSupportException

        public _415MediaNotSupportException​(Class<?> clazz,
                                            javax.ws.rs.core.MediaType media,
                                            Set<javax.ws.rs.core.MediaType> expected)
    • Method Detail

      • getCode

        public int getCode()
        Specified by:
        getCode in class io.vertx.up.exception.WebException
      • getStatus

        public io.vertx.core.http.HttpStatusCode getStatus()
        Overrides:
        getStatus in class io.vertx.up.exception.WebException