public static Stream<RequestRoute> getRequestRoutes() {
        return routes.stream()
                .filter(RequestRoute.class::isInstance)
                .map(RequestRoute.class::cast)
                .collect(Collectors.toUnmodifiableSet())
                .stream();
    }
public static Stream < RequestRoute > getRequestRoutes ( ) { return routes . stream ( ) . filter ( RequestRoute . class :: isInstance ) . map ( RequestRoute . class :: cast ) . collect ( Collectors . toUnmodifiableSet ( ) ) . stream ( ) ; }
@return An unmodifiable set of all configured RequestRoutes