Android Open Source - Projectile Method






From Project

Back to project page Projectile.

License

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.

Java Source Code

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;
    }
}




Java Source Code List

com.nicktate.Sample.java
org.nicktate.projectile.JsonElementListener.java
org.nicktate.projectile.Method.java
org.nicktate.projectile.NetworkResponseListener.java
org.nicktate.projectile.OkHttpStack.java
org.nicktate.projectile.Priority.java
org.nicktate.projectile.ProjectileRequest.java
org.nicktate.projectile.Projectile.java
org.nicktate.projectile.ResponseListener.java
org.nicktate.projectile.StringListener.java