private void addUrlParameter(final WebContext context, final URIBuilder builder,
                                 final String parameterName) {
        val parameter = getQueryParameter(context, parameterName);
        parameter.ifPresent(basicNameValuePair ->
            builder.addParameter(basicNameValuePair.getName(), basicNameValuePair.getValue()));
    }
This is {@link OAuth20CasCallbackUrlResolver}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/OAuth20CasCallbackUrlResolver.java