public class

HttpUrlConnectionNetworkFetcher

extends BaseNetworkFetcher<FETCH_STATE extends FetchState>
java.lang.Object
   ↳ com.facebook.imagepipeline.producers.BaseNetworkFetcher<FETCH_STATE extends com.facebook.imagepipeline.producers.FetchState>
     ↳ com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcher

Class Overview

Network fetcher that uses the simplest Android stack.

Apps requiring more sophisticated networking should implement their own NetworkFetcher.

Summary

Constants
int HTTP_PERMANENT_REDIRECT
int HTTP_TEMPORARY_REDIRECT
Public Constructors
HttpUrlConnectionNetworkFetcher()
Public Methods
FetchState createFetchState(Consumer<EncodedImage> consumer, ProducerContext context)
void fetch(FetchState fetchState, NetworkFetcher.Callback callback)
[Expand]
Inherited Methods
From class com.facebook.imagepipeline.producers.BaseNetworkFetcher
From class java.lang.Object
From interface com.facebook.imagepipeline.producers.NetworkFetcher

Constants

public static final int HTTP_PERMANENT_REDIRECT

Constant Value: 308 (0x00000134)

public static final int HTTP_TEMPORARY_REDIRECT

Constant Value: 307 (0x00000133)

Public Constructors

public HttpUrlConnectionNetworkFetcher ()

Public Methods

public FetchState createFetchState (Consumer<EncodedImage> consumer, ProducerContext context)

public void fetch (FetchState fetchState, NetworkFetcher.Callback callback)