All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.fitko.fitconnect.api.domain.subscriber.steps.ReplyDataStep Maven / Gradle / Ivy

Go to download

Library that provides client access to the FIT-Connect api-endpoints for sending, subscribing and routing

There is a newer version: 2.3.5
Show 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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy