Back to project page Projectile.
The source code is released under:
Apache License
If you think the Android project Projectile 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 org.nicktate.projectile; /*from w ww .j a va 2 s .co m*/ import com.android.volley.Request; /** * Request Method Type Mapping to {@link com.android.volley.Request.Method} for enum convenience in builder */ public enum Method { DELETE(Request.Method.DELETE), DEPRECATED_GET_OR_POST(Request.Method.DEPRECATED_GET_OR_POST), GET(Request.Method.GET), HEAD(Request.Method.HEAD), OPTIONS(Request.Method.OPTIONS), PATCH(Request.Method.PATCH), POST(Request.Method.POST), PUT(Request.Method.PUT), TRACE(Request.Method.TRACE); private int mMethod; public int getValue() { return mMethod; } Method(int method) { mMethod = method; } }