AeroGear Android Library 1.1.0

org.jboss.aerogear.android.authentication.impl.loader.support
Class SupportLoginLoader

java.lang.Object
  extended by android.support.v4.content.Loader<D>
      extended by android.support.v4.content.AsyncTaskLoader<HeaderAndBody>
          extended by org.jboss.aerogear.android.authentication.impl.loader.support.AbstractSupportAuthenticationLoader
              extended by org.jboss.aerogear.android.authentication.impl.loader.support.SupportLoginLoader

public class SupportLoginLoader
extends AbstractSupportAuthenticationLoader

This class is a Loader which performs an login operation on behalf of an AuthenticationModule.


Nested Class Summary
 
Nested classes/interfaces inherited from class android.support.v4.content.Loader
android.support.v4.content.Loader.ForceLoadContentObserver, android.support.v4.content.Loader.OnLoadCompleteListener<D>
 
Field Summary
 
Fields inherited from class org.jboss.aerogear.android.authentication.impl.loader.support.AbstractSupportAuthenticationLoader
callback, module
 
Constructor Summary
SupportLoginLoader(android.content.Context context, Callback callback, AuthenticationModule module, String username, String password)
           
 
Method Summary
 HeaderAndBody loadInBackground()
           
protected  void onStartLoading()
           
 
Methods inherited from class org.jboss.aerogear.android.authentication.impl.loader.support.AbstractSupportAuthenticationLoader
getCallback, getException, getModule, hasException, setException
 
Methods inherited from class android.support.v4.content.AsyncTaskLoader
cancelLoad, dump, onCanceled, onForceLoad, onLoadInBackground, setUpdateThrottle, waitForLoader
 
Methods inherited from class android.support.v4.content.Loader
abandon, dataToString, deliverResult, forceLoad, getContext, getId, isAbandoned, isReset, isStarted, onAbandon, onContentChanged, onReset, onStopLoading, registerListener, reset, startLoading, stopLoading, takeContentChanged, toString, unregisterListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SupportLoginLoader

public SupportLoginLoader(android.content.Context context,
                          Callback callback,
                          AuthenticationModule module,
                          String username,
                          String password)
Method Detail

loadInBackground

public HeaderAndBody loadInBackground()
Specified by:
loadInBackground in class android.support.v4.content.AsyncTaskLoader<HeaderAndBody>

onStartLoading

protected void onStartLoading()
Overrides:
onStartLoading in class android.support.v4.content.Loader<HeaderAndBody>

AeroGear Android Library 1.1.0

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.