Java 类com.loopj.android.http.AsyncHttpRequest 实例源码

项目:GitHub    文件:SampleParentActivity.java   
@Override
protected AsyncHttpRequest newAsyncHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context) {
    AsyncHttpRequest httpRequest = getHttpRequest(client, httpContext, uriRequest, contentType, responseHandler, context);
    return httpRequest == null
            ? super.newAsyncHttpRequest(client, httpContext, uriRequest, contentType, responseHandler, context)
            : httpRequest;
}
项目:GitHub    文件:SampleParentActivity.java   
@Override
protected AsyncHttpRequest newAsyncHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context) {
    AsyncHttpRequest httpRequest = getHttpRequest(client, httpContext, uriRequest, contentType, responseHandler, context);
    return httpRequest == null
            ? super.newAsyncHttpRequest(client, httpContext, uriRequest, contentType, responseHandler, context)
            : httpRequest;
}
项目:WeiboWeiBaTong    文件:SampleParentActivity.java   
@Override
protected AsyncHttpRequest newAsyncHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context) {
    AsyncHttpRequest httpRequest = getHttpRequest(client, httpContext, uriRequest, contentType, responseHandler, context);
    return httpRequest == null
            ? super.newAsyncHttpRequest(client, httpContext, uriRequest, contentType, responseHandler, context)
            : httpRequest;
}
项目:WeiboWeiBaTong    文件:SampleParentActivity.java   
@Override
protected AsyncHttpRequest newAsyncHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context) {
    AsyncHttpRequest httpRequest = getHttpRequest(client, httpContext, uriRequest, contentType, responseHandler, context);
    return httpRequest == null
            ? super.newAsyncHttpRequest(client, httpContext, uriRequest, contentType, responseHandler, context)
            : httpRequest;
}
项目:GitHub    文件:SampleParentActivity.java   
@Override
public AsyncHttpRequest getHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context) {
    return null;
}
项目:GitHub    文件:PrePostProcessingSample.java   
@Override
public AsyncHttpRequest getHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context) {
    return new PrePostProcessRequest(client, httpContext, uriRequest, responseHandler);
}
项目:GitHub    文件:PrePostProcessingSample.java   
@Override
public void onPreProcessRequest(AsyncHttpRequest request) {
    debugProcessing(LOG_TAG, "Pre",
            "Request is about to be pre-processed", LIGHTGREY);
}
项目:GitHub    文件:PrePostProcessingSample.java   
@Override
public void onPostProcessRequest(AsyncHttpRequest request) {
    debugProcessing(LOG_TAG, "Post",
            "Request is about to be post-processed", DARKGREY);
}
项目:GitHub    文件:SampleParentActivity.java   
@Override
public AsyncHttpRequest getHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context) {
    return null;
}
项目:GitHub    文件:PrePostProcessingSample.java   
@Override
public AsyncHttpRequest getHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context) {
    return new PrePostProcessRequest(client, httpContext, uriRequest, responseHandler);
}
项目:GitHub    文件:PrePostProcessingSample.java   
@Override
public void onPreProcessRequest(AsyncHttpRequest request) {
    debugProcessing(LOG_TAG, "Pre",
            "Request is about to be pre-processed", LIGHTGREY);
}
项目:GitHub    文件:PrePostProcessingSample.java   
@Override
public void onPostProcessRequest(AsyncHttpRequest request) {
    debugProcessing(LOG_TAG, "Post",
            "Request is about to be post-processed", DARKGREY);
}
项目:OSchina_resources_android    文件:ApiHttpClient.java   
@Override
protected AsyncHttpRequest newAsyncHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context) {
    return new CheckNetAsyncHttpRequest(client, httpContext, uriRequest, responseHandler);
}
项目:Tamic_Retrofit    文件:Call.java   
/** The original HTTP request. */
AsyncHttpRequest request();
项目:WeiboWeiBaTong    文件:SampleParentActivity.java   
@Override
public AsyncHttpRequest getHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context) {
    return null;
}
项目:WeiboWeiBaTong    文件:PrePostProcessingSample.java   
@Override
public AsyncHttpRequest getHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context) {
    return new PrePostProcessRequest(client, httpContext, uriRequest, responseHandler);
}
项目:WeiboWeiBaTong    文件:PrePostProcessingSample.java   
@Override
public void onPreProcessRequest(AsyncHttpRequest request) {
    debugProcessing(LOG_TAG, "Pre",
        "Request is about to be pre-processed", LIGHTGREY);
}
项目:WeiboWeiBaTong    文件:PrePostProcessingSample.java   
@Override
public void onPostProcessRequest(AsyncHttpRequest request) {
    debugProcessing(LOG_TAG, "Post",
        "Request is about to be post-processed", DARKGREY);
}
项目:WeiboWeiBaTong    文件:SampleParentActivity.java   
@Override
public AsyncHttpRequest getHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context) {
    return null;
}
项目:WeiboWeiBaTong    文件:PrePostProcessingSample.java   
@Override
public AsyncHttpRequest getHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context) {
    return new PrePostProcessRequest(client, httpContext, uriRequest, responseHandler);
}
项目:WeiboWeiBaTong    文件:PrePostProcessingSample.java   
@Override
public void onPreProcessRequest(AsyncHttpRequest request) {
    debugProcessing(LOG_TAG, "Pre",
        "Request is about to be pre-processed", LIGHTGREY);
}
项目:WeiboWeiBaTong    文件:PrePostProcessingSample.java   
@Override
public void onPostProcessRequest(AsyncHttpRequest request) {
    debugProcessing(LOG_TAG, "Post",
        "Request is about to be post-processed", DARKGREY);
}
项目:love    文件:HttpManager.java   
/**
 * Instantiate a new asynchronous HTTP request for the passed parameters.
 *
 * @param client
 *            HttpClient to be used for request, can differ in single
 *            requests
 * @param contentType
 *            MIME body type, for POST and PUT requests, may be null
 * @param context
 *            Context of Android application, to hold the reference of
 *            request
 * @param httpContext
 *            HttpContext in which the request will be executed
 * @param responseHandler
 *            ResponseHandler or its subclass to put the response into
 * @param uriRequest
 *            instance of HttpUriRequest, which means it must be of
 *            HttpDelete, HttpPost, HttpGet, HttpPut, etc.
 * @return AsyncHttpRequest ready to be dispatched
 */
@Override
protected AsyncHttpRequest newAsyncHttpRequest(DefaultHttpClient client,
        HttpContext httpContext, HttpUriRequest uriRequest,
        String contentType, ResponseHandlerInterface responseHandler,
        Context context) {
    return new AutoHttpRequest(client, httpContext, uriRequest,
            responseHandler, getHttpConfig());
}
项目:GitHub    文件:SampleInterface.java   
AsyncHttpRequest getHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context);
项目:GitHub    文件:SampleInterface.java   
AsyncHttpRequest getHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context);
项目:WeiboWeiBaTong    文件:SampleInterface.java   
AsyncHttpRequest getHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context);
项目:WeiboWeiBaTong    文件:SampleInterface.java   
AsyncHttpRequest getHttpRequest(DefaultHttpClient client, HttpContext httpContext, HttpUriRequest uriRequest, String contentType, ResponseHandlerInterface responseHandler, Context context);