| Package | Description |
|---|---|
| org.jboss.aerogear.android.pipe | |
| org.jboss.aerogear.android.pipe.loader | |
| org.jboss.aerogear.android.pipe.paging | |
| org.jboss.aerogear.android.pipe.rest |
| Modifier and Type | Interface and Description |
|---|---|
interface |
LoaderPipe<T>
Sometimes a Pipe will actually be wrapped in a Loader.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract <DATA> Pipe<DATA> |
PipeConfiguration.buildPipeForClass(Class<DATA> aClass)
Validates configuration parameters and returns a Pipe instance.
|
<DATA> Pipe<DATA> |
PipeConfiguration.forClass(Class<DATA> aClass)
Creates a pipe based on the current configuration and notifies all listeners
|
static Pipe |
PipeManager.getPipe(String name)
Fetches a named pipe
|
| Modifier and Type | Method and Description |
|---|---|
void |
OnPipeCreatedListener.onPipeCreated(PipeConfiguration<?> configuration,
Pipe<?> pipe)
A method called when Pipes are created.
|
HeaderAndBody |
PipeHandler.onRawRead(Pipe<T> requestingPipe)
This method fetches a resource on behalf of a Pipe.
|
HeaderAndBody |
PipeHandler.onRawRead(Pipe<T> requestingPipe,
String id)
This method fetches a resource with an id on behalf of a Pipe.
|
HeaderAndBody |
PipeHandler.onRawReadWithFilter(org.jboss.aerogear.android.core.ReadFilter filter,
Pipe<T> requestingPipe)
This method fetches a resource with an filter on behalf of a Pipe.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LoaderAdapter<T>
This class wraps a Pipe in an asynchronous Loader.
|
| Constructor and Description |
|---|
IdReadLoader(android.content.Context context,
org.jboss.aerogear.android.core.Callback<List<T>> callback,
PipeHandler<T> runner,
org.jboss.aerogear.android.core.ReadFilter filter,
Pipe<T> pipe) |
LoaderAdapter(android.app.Activity activity,
Pipe<T> pipe,
String name) |
LoaderAdapter(android.app.Fragment fragment,
android.content.Context applicationContext,
Pipe<T> pipe,
String name) |
ReadLoader(android.content.Context context,
org.jboss.aerogear.android.core.Callback<List<T>> callback,
PipeHandler<T> runner,
org.jboss.aerogear.android.core.ReadFilter filter,
Pipe<T> pipe) |
| Constructor and Description |
|---|
WrappingPagedList(Pipe<T> pipe,
List<T> data,
org.jboss.aerogear.android.core.ReadFilter nextFilter,
org.jboss.aerogear.android.core.ReadFilter previousFilter) |
| Modifier and Type | Class and Description |
|---|---|
class |
RestAdapter<T>
Rest implementation of
Pipe. |
| Modifier and Type | Method and Description |
|---|---|
protected <DATA> Pipe<DATA> |
RestfulPipeConfiguration.buildPipeForClass(Class<DATA> aClass) |
| Modifier and Type | Method and Description |
|---|---|
HeaderAndBody |
RestRunner.onRawRead(Pipe<T> requestingPipe) |
HeaderAndBody |
RestRunner.onRawRead(Pipe<T> requestingPipe,
String id) |
HeaderAndBody |
RestRunner.onRawReadWithFilter(org.jboss.aerogear.android.core.ReadFilter filter,
Pipe<T> requestingPipe) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.