protected JSONObject executeString(
			HttpMethod httpMethodParam,
			List<HeaderNameValue> headerNameValuesParam,
			boolean checkConnectionValidParam,
			String stringParam,
			ContentType contentTypeParam,
			String postfixUrlParam
	) {
    """
	Submit the {@code stringParam} as HTTP request body with JSON as a response.
	
	@param httpMethodParam The HTTP method to use.
	@param headerNameValuesParam The additional HTTP headers.
	@param checkConnectionValidParam Check if connection to base endpoint is valid.
	@param stringParam The Text to submit.
	@param contentTypeParam The Mime / Content type to submit as.
	@param postfixUrlParam URL mapping after the Base endpoint.
	
	@return Return body as JSON.
	
	@see HttpMethod
	@see JSONObject
	@see ContentType
	@see ABaseFluidJSONObject
    """
		String responseBody = this.executeTxtReceiveTxt(
				httpMethodParam,
				headerNameValuesParam,
				checkConnectionValidParam,
				stringParam,
				contentTypeParam,
				postfixUrlParam);

		if(responseBody == null || responseBody.trim().isEmpty()) {
			throw new FluidClientException(
					"No response data from '"+
							this.endpointUrl.concat(postfixUrlParam)+"'.",
					FluidClientException.ErrorCode.IO_ERROR);
		}

		try {
			JSONObject jsonOjb = new JSONObject(responseBody);
			if(jsonOjb.isNull(Error.JSONMapping.ERROR_CODE))
			{
				return jsonOjb;
			}

			int errorCode = jsonOjb.getInt(Error.JSONMapping.ERROR_CODE);
			if(errorCode > 0)
			{
				String errorMessage = (jsonOjb.isNull(Error.JSONMapping.ERROR_MESSAGE)
						? "Not set":
						jsonOjb.getString(Error.JSONMapping.ERROR_MESSAGE));

				throw new FluidClientException(errorMessage, errorCode);
			}

			return jsonOjb;
		} catch (JSONException jsonExcept) {
			//Invalid JSON Body...
			if(responseBody != null && !responseBody.trim().isEmpty()) {
				throw new FluidClientException(
						jsonExcept.getMessage() + "\n Response Body is: \n\n" +
								responseBody,
						jsonExcept, FluidClientException.ErrorCode.JSON_PARSING);
			}

			throw new FluidClientException(
					jsonExcept.getMessage(),
					jsonExcept, FluidClientException.ErrorCode.JSON_PARSING);
		}
	}
protected JSONObject executeString(
			HttpMethod httpMethodParam,
			List<HeaderNameValue> headerNameValuesParam,
			boolean checkConnectionValidParam,
			String stringParam,
			ContentType contentTypeParam,
			String postfixUrlParam
	) {
		String responseBody = this.executeTxtReceiveTxt(
				httpMethodParam,
				headerNameValuesParam,
				checkConnectionValidParam,
				stringParam,
				contentTypeParam,
				postfixUrlParam);

		if(responseBody == null || responseBody.trim().isEmpty()) {
			throw new FluidClientException(
					"No response data from '"+
							this.endpointUrl.concat(postfixUrlParam)+"'.",
					FluidClientException.ErrorCode.IO_ERROR);
		}

		try {
			JSONObject jsonOjb = new JSONObject(responseBody);
			if(jsonOjb.isNull(Error.JSONMapping.ERROR_CODE))
			{
				return jsonOjb;
			}

			int errorCode = jsonOjb.getInt(Error.JSONMapping.ERROR_CODE);
			if(errorCode > 0)
			{
				String errorMessage = (jsonOjb.isNull(Error.JSONMapping.ERROR_MESSAGE)
						? "Not set":
						jsonOjb.getString(Error.JSONMapping.ERROR_MESSAGE));

				throw new FluidClientException(errorMessage, errorCode);
			}

			return jsonOjb;
		} catch (JSONException jsonExcept) {
			//Invalid JSON Body...
			if(responseBody != null && !responseBody.trim().isEmpty()) {
				throw new FluidClientException(
						jsonExcept.getMessage() + "\n Response Body is: \n\n" +
								responseBody,
						jsonExcept, FluidClientException.ErrorCode.JSON_PARSING);
			}

			throw new FluidClientException(
					jsonExcept.getMessage(),
					jsonExcept, FluidClientException.ErrorCode.JSON_PARSING);
		}
	}
protected JSONObject executeString ( HttpMethod httpMethodParam , List < HeaderNameValue > headerNameValuesParam , boolean checkConnectionValidParam , String stringParam , ContentType contentTypeParam , String postfixUrlParam ) { String responseBody = this . executeTxtReceiveTxt ( httpMethodParam , headerNameValuesParam , checkConnectionValidParam , stringParam , contentTypeParam , postfixUrlParam ) ; if ( responseBody == null || responseBody . trim ( ) . isEmpty ( ) ) { throw new FluidClientException ( "No response data from '" + this . endpointUrl . concat ( postfixUrlParam ) + "'." , FluidClientException . ErrorCode . IO_ERROR ) ; } try { JSONObject jsonOjb = new JSONObject ( responseBody ) ; if ( jsonOjb . isNull ( Error . JSONMapping . ERROR_CODE ) ) { return jsonOjb ; } int errorCode = jsonOjb . getInt ( Error . JSONMapping . ERROR_CODE ) ; if ( errorCode > 0 ) { String errorMessage = ( jsonOjb . isNull ( Error . JSONMapping . ERROR_MESSAGE ) ? "Not set" : jsonOjb . getString ( Error . JSONMapping . ERROR_MESSAGE ) ) ; throw new FluidClientException ( errorMessage , errorCode ) ; } return jsonOjb ; } catch ( JSONException jsonExcept ) { //Invalid JSON Body... if ( responseBody != null && ! responseBody . trim ( ) . isEmpty ( ) ) { throw new FluidClientException ( jsonExcept . getMessage ( ) + "\n Response Body is: \n\n" + responseBody , jsonExcept , FluidClientException . ErrorCode . JSON_PARSING ) ; } throw new FluidClientException ( jsonExcept . getMessage ( ) , jsonExcept , FluidClientException . ErrorCode . JSON_PARSING ) ; } }
Submit the {@code stringParam} as HTTP request body with JSON as a response.

@param httpMethodParam The HTTP method to use.
@param headerNameValuesParam The additional HTTP headers.
@param checkConnectionValidParam Check if connection to base endpoint is valid.
@param stringParam The Text to submit.
@param contentTypeParam The Mime / Content type to submit as.
@param postfixUrlParam URL mapping after the Base endpoint.

@return Return body as JSON.

@see HttpMethod
@see JSONObject
@see ContentType
@see ABaseFluidJSONObject
Submit the { @code stringParam } as HTTP request body with JSON as a response .