com.github.bordertech.restfriends.envelope.DataEnvelope Maven / Gradle / Ivy
package com.github.bordertech.restfriends.envelope;
import java.io.Serializable;
/**
* Response envelope that holds data object.
*
* @param the data type
*/
public interface DataEnvelope extends Envelope {
/**
* @return the response data
*/
T getData();
/**
* @param data the response data
*/
void setData(T data);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy