Class RouteMatcher

java.lang.Object
discord4j.rest.request.RouteMatcher

@Experimental public class RouteMatcher extends Object
A predicate that can match a given DiscordWebRequest. You can create instances of this class using the route(Route) factory, or through any() to provide a catch-all matcher.