docs/javadoc/reference/com/facebook/imagepipeline/producers/HttpUrlConnectionNetworkFetcher.html
|
|
Consumer<T>
NetworkFetcher<FETCH_STATE extends FetchState>
Producer<T>
BaseConsumer<T>
BaseNetworkFetcher<FETCH_STATE extends FetchState>
DelegatingConsumer<I, O>
HttpUrlConnectionNetworkFetcher.HttpUrlConnectionNetworkFetchState
MultiplexProducer<K, T extends Closeable>
NullProducer<T>
PostprocessedBitmapMemoryCacheProducer.CachedPostprocessorConsumer
PriorityNetworkFetcher<FETCH_STATE extends FetchState>
PriorityNetworkFetcher.PriorityFetchState<FETCH_STATE extends FetchState>
Summary: Nested Classes | Constants | Ctors | Methods | Inherited Methods | [Expand All]
public class
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 |
Network fetcher that uses the simplest Android stack.
Apps requiring more sophisticated networking should implement their own NetworkFetcher.
| Nested Classes |
|---|
| class |
| Constants |
|---|
| int |
| int |
| int |
| Public Constructors |
|---|
| Public Methods |
|---|
| HttpUrlConnectionNetworkFetcher.HttpUrlConnectionNetworkFetchState |
| void |
| Map<String, String> |
| Gets a map containing extra parameters to pass to the listeners. |
| void |
| Called after the fetch completes. |
| [Expand] Inherited Methods | | --- | | From class com.facebook.imagepipeline.producers.BaseNetworkFetcher
| Map<String, String> | getExtraMap(FETCH_STATE fetchState, int byteSize) Gets a map containing extra parameters to pass to the listeners. | | void | onFetchCompletion(FETCH_STATE fetchState, int byteSize) Called after the fetch completes. | | boolean | shouldPropagate(FETCH_STATE fetchState) Gets whether the intermediate results should be propagated. |
| | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
| | From interface com.facebook.imagepipeline.producers.NetworkFetcher
| abstract FETCH_STATE | createFetchState(Consumer<EncodedImage> consumer, ProducerContext producerContext)
Creates a new instance of the FetchState-derived object used to store state.
|
| abstract void | fetch(FETCH_STATE fetchState, NetworkFetcher.Callback callback)
Initiates the network fetch and informs the producer when a response is received via the provided callback.
|
| abstract Map<String, String> | getExtraMap(FETCH_STATE fetchState, int byteSize)
Gets a map containing extra parameters to pass to the listeners.
|
| abstract void | onFetchCompletion(FETCH_STATE fetchState, int byteSize)
Called after the fetch completes.
|
| abstract boolean | shouldPropagate(FETCH_STATE fetchState)
Gets whether the intermediate results should be propagated.
|
|
Constant Value: 30000 (0x00007530)
Constant Value: 308 (0x00000134)
Constant Value: 307 (0x00000133)
Gets a map containing extra parameters to pass to the listeners.
Returning map is optional and is useful for instrumentation purposes.
This map won't be modified by the caller.
| fetchState | the fetch-specific state | | byteSize | size of the data in bytes |
Called after the fetch completes.
Implementing this method is optional and is useful for instrumentation purposes.
| fetchState | the fetch-specific state | | byteSize | size of the data in bytes |
+Generated by Doclava. +