All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.up.exception.web._405MethodForbiddenException Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package io.vertx.up.exception.web;

import io.vertx.core.http.HttpMethod;
import io.vertx.core.http.HttpStatusCode;
import io.vertx.up.exception.WebException;

public class _405MethodForbiddenException extends WebException {

    public _405MethodForbiddenException(final Class clazz,
                                        final HttpMethod method,
                                        final String uri) {
        super(clazz, method, uri);
    }

    @Override
    public int getCode() {
        return -60014;
    }

    @Override
    public HttpStatusCode getStatus() {
        return HttpStatusCode.METHOD_NOT_ALLOWED;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy