Back to project page acs-android-sdk.
The source code is released under:
Apache License
If you think the Android project acs-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.
package com.appcelerator.cloud.sdk; /*w w w . jav a2 s . co m*/ public final class CCRequestMethod { public final static CCRequestMethod GET = new CCRequestMethod(); public final static CCRequestMethod POST = new CCRequestMethod(); public final static CCRequestMethod PUT = new CCRequestMethod(); public final static CCRequestMethod DELETE = new CCRequestMethod(); private CCRequestMethod() { } public String getTypeString() { if (this == GET) { return "GET"; } if (this == POST) { return "POST"; } if (this == PUT) { return "PUT"; } if (this == DELETE) { return "DELETE"; } return null; } }