Back to project page RobolectricSample.
The source code is released under:
MIT License
If you think the Android project RobolectricSample 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.pivotallabs.api; /*from ww w. j a v a 2 s . c o m*/ import java.util.HashMap; import java.util.Map; public abstract class ApiRequest { public abstract String getUrlString(); public Map<String, String> getParameters() { return new HashMap<String, String>(); } public Map<String, String> getHeaders() { return new HashMap<String, String>(); } public String getPostBody() { return null; } public String getUsername() { return null; } public String getPassword() { return null; } }