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

io.quarkus.rest.client.reactive.runtime.ResteasyReactiveResponseExceptionMapper Maven / Gradle / Ivy

There is a newer version: 3.17.0.CR1
Show newest version
package io.quarkus.rest.client.reactive.runtime;

import jakarta.ws.rs.core.Response;

import org.eclipse.microprofile.rest.client.ext.ResponseExceptionMapper;
import org.jboss.resteasy.reactive.client.impl.RestClientRequestContext;

public interface ResteasyReactiveResponseExceptionMapper extends ResponseExceptionMapper {

    T toThrowable(Response response, RestClientRequestContext context);

    @Override
    default T toThrowable(Response response) {
        throw new IllegalStateException("should never be invoked");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy