资源简介
volley是一个优秀的安卓开源网络访问工具 这里包含一个volley代码jar和源码,版本是2015.03.03的1.0.11版本 更多资料可以参见volley的github地址: https://github.com/mcxiaoke/android-volley

代码片段和文件信息
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License Version 2.0 (the “License“);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.volley;
import android.content.Intent;
import com.android.volley.NetworkResponse;
import com.android.volley.VolleyError;
/**
* Error indicating that there was an authentication failure when performing a Request.
*/
@SuppressWarnings(“serial“)
public class AuthFailureError extends VolleyError {
/** An intent that can be used to resolve this exception. (Brings up the password dialog.) */
private Intent mResolutionIntent;
public AuthFailureError() { }
public AuthFailureError(Intent intent) {
mResolutionIntent = intent;
}
public AuthFailureError(NetworkResponse response) {
super(response);
}
public AuthFailureError(String message) {
super(message);
}
public AuthFailureError(String message Exception reason) {
super(message reason);
}
public Intent getResolutionIntent() {
return mResolutionIntent;
}
@Override
public String getMessage() {
if (mResolutionIntent != null) {
return “User needs to (re)enter credentials.“;
}
return super.getMessage();
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1752 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\AuthFailureError.java
文件 2897 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\Cache.java
文件 6004 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\CacheDispatcher.java
文件 3128 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\DefaultRetryPolicy.java
文件 3881 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\ExecutorDelivery.java
文件 1035 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\Network.java
文件 5930 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\NetworkDispatcher.java
文件 1118 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\NetworkError.java
文件 2425 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\NetworkResponse.java
文件 971 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\NoConnection
文件 1072 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\ParseError.java
文件 20244 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\Request.java
文件 11559 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\RequestQueue.java
文件 2649 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\Response.java
文件 1210 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\ResponseDelivery.java
文件 1309 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\RetryPolicy.java
文件 1029 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\ServerError.java
文件 794 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\TimeoutError.java
文件 3922 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\toolbox\AndroidAuthenticator.java
文件 1105 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\toolbox\Authenticator.java
文件 11851 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\toolbox\BasicNetwork.java
文件 5400 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\toolbox\ByteArrayPool.java
文件 2041 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\toolbox\ClearCacheRequest.java
文件 18540 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\toolbox\Diskba
文件 7484 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\toolbox\HttpClientStack.java
文件 5771 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\toolbox\HttpHeaderParser.java
文件 1511 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\toolbox\HttpStack.java
文件 9636 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\toolbox\HurlStack.java
文件 19887 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\toolbox\ImageLoader.java
文件 9918 2015-03-02 21:29 volley-1.0.11-2015.03.03\com\android\volley\toolbox\ImageRequest.java
............此处省略20个文件信息
- 上一篇:JAVA简易画图工具
- 下一篇:微信公众号支付改良版
相关资源
- itext最新jar包及textAsian无错误版本
- JNA所需要的jar包
- jsonarray所必需的6个jar包.rar
- utgard用到的jar包
- Android v7的一些jar包
- windows 系统下启动与结束java的jar包的
- axis.jar及依赖jar包
- Java HttpClient 4.x Jar包
-
ba
se64Encode编码,jar包源代码打包 - sqlserver2008连接所需jar包六个
- jdk和cglib动态代理的{jar包+源码}
- cglibjar包
- 传智itcast-bookstore所需jar包
- kettle连接数据库相关jar包
- mysql-connector-java-5.1.17.jar
- Android直连Mysql数据库需要导入的jar包
- oracle11g jar包for JDBC
- oracle 11g jdbc jar包
- mysql-5.1.40-bin jar包
- DBCP 数据源jar包
- c3p0-0.9.5.2的三个jar包 数据库连接池
- jersey1.18 jar包
- 使用JSTL需要的jar包程序文件
- JavaMail的JAR包
- 连接数据库mysql所需jar包
- DbVisualizer 10.0.14 破解jar包
- smali jar包
- android-support-design.jar(24.0.0版本)
- Spring+SpringMVC+Mybatis整合代码+所有Spr
- Spring3.1 MongoDB整合含jar包已测
评论
共有 条评论