protected JSONObject executeJson ( HttpMethod httpMethodParam , List < HeaderNameValue > headerNameValuesParam , boolean checkConnectionValidParam , ABaseFluidJSONObject baseDomainParam , ContentType contentTypeParam , String postfixUrlParam ) { //Validate that something is set. if ( baseDomainParam == null ) { throw new FluidClientException ( "No JSON body to post." , FluidClientException . ErrorCode . FIELD_VALIDATE ) ; } String bodyJsonString = baseDomainParam . toJsonObject ( ) . toString ( ) ; return this . executeString ( httpMethodParam , headerNameValuesParam , checkConnectionValidParam , bodyJsonString , contentTypeParam , postfixUrlParam ) ; }
Submit a JSON based HTTP request body with JSON as a response .