io.quarkus.resteasy.reactive.server.runtime.exceptionmappers.ForbiddenExceptionMapper Maven / Gradle / Ivy
package io.quarkus.resteasy.reactive.server.runtime.exceptionmappers;
import jakarta.ws.rs.core.Response;
import jakarta.ws.rs.ext.ExceptionMapper;
import io.quarkus.security.ForbiddenException;
public class ForbiddenExceptionMapper implements ExceptionMapper {
@Override
public Response toResponse(ForbiddenException exception) {
return Response.status(Response.Status.FORBIDDEN).build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy