@Override
    public ResponseBuilder<WebApplicationService> locate(final WebApplicationService service) {
        return builders
            .stream()
            .filter(r -> r.supports(service))
            .findFirst()
            .orElse(null);
    }
This is {@link DefaultWebApplicationResponseBuilderLocator}.

@author Misagh Moayyed
@since 5.1.0
core/cas-server-core-services-authentication/src/main/java/org/apereo/cas/authentication/principal/DefaultWebApplicationResponseBuilderLocator.java