// 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.JSONUtils; // Referenced classes of package org.apache.oltu.oauth2.common.parameters: // OAuthParametersApplier public class JSONBodyParametersApplier implements OAuthParametersApplier { public JSONBodyParametersApplier() { } public OAuthMessage applyOAuthParameters(OAuthMessage oauthmessage, Map map) throws OAuthSystemException { try { oauthmessage.setBody(JSONUtils.buildJSON(map)); } // Misplaced declaration of an exception variable catch (OAuthMessage oauthmessage) { throw new OAuthSystemException(oauthmessage); } return oauthmessage; } }