Back to project page android-http.
The source code is released under:
Apache License
If you think the Android project android-http listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.markom.android.http.model; // w ww .ja v a 2s . c o m /** * Generic service response class that encapsulates core response data. * * @param <T> type of data. * * @author Marko Milos */ public class ServiceResponse<T> { private T data; /** * Retrives encapsulated requested data. * * @return request data. */ public T getData() { return data; } /** * Set service response data. * * @param data to set. */ public void setData(T data) { this.data = data; } }