dev.fitko.fitconnect.api.domain.subscriber.steps.ReplyDataStep Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
Library that provides client access to the FIT-Connect api-endpoints for sending, subscribing and
routing
The newest version!
package dev.fitko.fitconnect.api.domain.subscriber.steps;
import java.net.URI;
public interface ReplyDataStep {
/**
* Set JSON data as string.
*
* @param data json as string
* @param schemaUri specifies the schema that will be used to validate the data
* @return next step to set additional properties
*/
OptionalReplyPropertiesStep setJsonData(String data, URI schemaUri);
/**
* Set JSON data as byte[].
*
* @param data json data as bytes
* @param schemaUri specifies the schema that will be used to validate the data
* @return next step to set additional properties
*/
OptionalReplyPropertiesStep setJsonData(byte[] data, URI schemaUri);
/**
* Set XML data as string.
*
* @param data xml data as string
* @param schemaUri specifies the schema that will be used to validate the data
* @return next step to set additional properties
*/
OptionalReplyPropertiesStep setXmlData(String data, URI schemaUri);
/**
* Set XML data as byte[].
*
* @param data xml data as bytes
* @param schemaUri specifies the schema that will be used to validate the data
* @return next step to set additional properties
*/
OptionalReplyPropertiesStep setXmlData(byte[] data, URI schemaUri);
}