Interface VolleyRequestFactory


  • public interface VolleyRequestFactory
    Used to construct a custom Volley request, such as for authentication header decoration.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.android.volley.Request<byte[]> create​(java.lang.String url, com.bumptech.glide.load.data.DataFetcher.DataCallback<? super java.io.InputStream> callback, com.android.volley.Request.Priority priority, java.util.Map<java.lang.String,​java.lang.String> headers)
      Returns a Volley request for the given image url.
    • Method Detail

      • create

        com.android.volley.Request<byte[]> create​(java.lang.String url,
                                                  com.bumptech.glide.load.data.DataFetcher.DataCallback<? super java.io.InputStream> callback,
                                                  com.android.volley.Request.Priority priority,
                                                  java.util.Map<java.lang.String,​java.lang.String> headers)
        Returns a Volley request for the given image url. The given future should be put as a listener or called when the request completes.