Build 1.0_r1(from source)

android.webkit
Class FrameLoader

java.lang.Object
  extended by android.webkit.FrameLoader

 class FrameLoader
extends Object


Field Summary
(package private) static String HEADER_STR
           
protected  int mCacheMode
           
protected  String mContentType
           
protected  Map<String,String> mHeaders
           
protected  boolean mIsHighPriority
           
protected  LoadListener mListener
           
protected  String mMethod
           
protected  Network mNetwork
           
protected  String mPostData
           
protected  String mReferrer
           
protected  String mUserAgent
           
 
Constructor Summary
FrameLoader(LoadListener listener, String userAgent, String method, boolean highPriority)
           
 
Method Summary
 boolean executeLoad()
          Issues the load request.
 LoadListener getLoadListener()
           
protected  boolean handleCache()
           
protected  boolean handleHTTPLoad(boolean proxyUrl)
           
(package private) static boolean handleLocalFile(String url, LoadListener loadListener)
           
protected  boolean handleUrlIntercept()
           
 void setCacheMode(int cacheMode)
           
 void setContentTypeForPost(String postContentType)
           
 void setHeaders(HashMap headers)
           
 void setPostData(String postData)
           
 void setReferrer(String ref)
           
protected  void startCacheLoad(CacheManager.CacheResult result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mListener

protected LoadListener mListener

mHeaders

protected Map<String,String> mHeaders

mMethod

protected String mMethod

mPostData

protected String mPostData

mIsHighPriority

protected boolean mIsHighPriority

mNetwork

protected Network mNetwork

mCacheMode

protected int mCacheMode

mReferrer

protected String mReferrer

mUserAgent

protected String mUserAgent

mContentType

protected String mContentType

HEADER_STR

static final String HEADER_STR
See Also:
Constant Field Values
Constructor Detail

FrameLoader

FrameLoader(LoadListener listener,
            String userAgent,
            String method,
            boolean highPriority)
Method Detail

setReferrer

public void setReferrer(String ref)

setPostData

public void setPostData(String postData)

setContentTypeForPost

public void setContentTypeForPost(String postContentType)

setCacheMode

public void setCacheMode(int cacheMode)

setHeaders

public void setHeaders(HashMap headers)

getLoadListener

public LoadListener getLoadListener()

executeLoad

public boolean executeLoad()
Issues the load request. Return value does not indicate if the load was successful or not. It simply indicates that the load request is reasonable.

Returns:
true if the load is reasonable.

handleLocalFile

static boolean handleLocalFile(String url,
                               LoadListener loadListener)

handleHTTPLoad

protected boolean handleHTTPLoad(boolean proxyUrl)

startCacheLoad

protected void startCacheLoad(CacheManager.CacheResult result)

handleUrlIntercept

protected boolean handleUrlIntercept()

handleCache

protected boolean handleCache()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature