Back to project page Curio_android_SDK.
The source code is released under:
Apache License
If you think the Android project Curio_android_SDK listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright (C) 2014 Turkcell/* w w w . jav a 2s . c o m*/ * * Created by Can Ciloglu on 10 Haz 2014 * */ package com.turkcell.curio.model; import java.util.Map; import com.turkcell.curio.ICurioResultListener; /** * Holder class for online request structure. * * @author Can Ciloglu * */ public class OnlineRequest { private String url; private Map<String, Object> params; private ICurioResultListener callback; private Integer priority; public OnlineRequest(String url, Map<String, Object> params, ICurioResultListener callback, Integer priority) { setUrl(url); setParams(params); setCallback(callback); setPriority(priority); } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public ICurioResultListener getCallback() { return callback; } public void setCallback(ICurioResultListener callback) { this.callback = callback; } public Integer getPriority() { return priority; } public void setPriority(Integer priority) { this.priority = priority; } public Map<String, Object> getParams() { return params; } public void setParams(Map<String, Object> params) { this.params = params; } }