// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package org.apache.oltu.oauth2.common.parameters; import java.util.Map; import org.apache.oltu.oauth2.common.exception.OAuthSystemException; import org.apache.oltu.oauth2.common.message.OAuthMessage; import org.apache.oltu.oauth2.common.utils.OAuthUtils; // Referenced classes of package org.apache.oltu.oauth2.common.parameters: // OAuthParametersApplier public class FragmentParametersApplier implements OAuthParametersApplier { public FragmentParametersApplier() { } public OAuthMessage applyOAuthParameters(OAuthMessage oauthmessage, Map map) throws OAuthSystemException { Object obj = oauthmessage.getLocationUri(); if (obj != null) { obj = new StringBuilder(((String) (obj))); if (map.containsKey("refresh_token")) { map.remove("refresh_token"); } String s = OAuthUtils.format(map.entrySet(), "UTF-8"); if (!OAuthUtils.isEmpty(s) && map.size() > 0) { ((StringBuilder) (obj)).append("#").append(s); } oauthmessage.setLocationUri(((StringBuilder) (obj)).toString()); } return oauthmessage; } }