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

org.zalando.riptide.NoRoute Maven / Gradle / Ivy

package org.zalando.riptide;

import org.springframework.http.client.ClientHttpResponse;

public final class NoRoute implements Route {

    private static final Route NO_ROUTE = new NoRoute();

    private NoRoute() {

    }

    @Override
    public void execute(final ClientHttpResponse response, final MessageReader reader) throws Exception {
        throw new NoRouteException(response);
    }

    public static Route noRoute() {
        return NO_ROUTE;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy