@Override
    @CanIgnoreReturnValue
    public OAuth20ResponseModeFactory registerBuilder(final OAuth20ResponseModeBuilder builder) {
        builders.put(builder.getResponseMode().getType(), builder);
        return this;
    }
This is {@link DefaultOAuth20ResponseModeFactory}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/response/callback/mode/DefaultOAuth20ResponseModeFactory.java