dev.fitko.fitconnect.api.domain.subscriber.steps.ReplyDataStep Maven / Gradle / Ivy
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);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy