com.day.cq.analytics.sitecatalyst.datainsertion.DataInsertionClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aem-sdk-api Show documentation
Show all versions of aem-sdk-api Show documentation
The Adobe Experience Manager SDK
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2012 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and may be covered by U.S. and Foreign Patents,
* patents in process, and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/
package com.day.cq.analytics.sitecatalyst.datainsertion;
import org.osgi.annotation.versioning.ProviderType;
import com.day.cq.analytics.sitecatalyst.SitecatalystException;
/**
* The DataInsertionClient
is executing
* DataInsertionRequest
's to a provided end point URI.
*/
@ProviderType
public interface DataInsertionClient {
/**
* Executes the DataInsertionRequest
through a POST request.
*
* @param request {@link DataInsertionRequest} to execute
* @param url URL to DataInsertion service
* @return DataInsertionResponse
* @throws SitecatalystException if an error occurs during the execution
*/
DataInsertionResponse execute(DataInsertionRequest request, String url) throws SitecatalystException;
/**
* Executes a GET request with the provided URI
* which should contain query string parameters.
*
* @param url URL to execute
* @throws SitecatalystException if an error occurs during the execution
*/
void execute(String url) throws SitecatalystException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy