retrofit-helper
1.1.0
androidJvm
retrofit-helper
/
com.king.retrofit.retrofithelper.annotation
/
Timeout
Timeout
@
Documented
@
Target
(
value
=
ElementType.METHOD
)
@
Retention
(
value
=
RetentionPolicy.RUNTIME
)
annotation class
Timeout
Timeout: 标记超时时长,用于支持动态改变超时时长
Author
Jenly
Members
Functions
annotation
Type
Link copied to clipboard
abstract
fun
annotationType
(
)
:
Class
<
out
Annotation
>
connect
Timeout
Link copied to clipboard
abstract
fun
connectTimeout
(
)
:
Int
连接超时 时长(默认:10秒),时间单位可参见:
timeUnit
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
read
Timeout
Link copied to clipboard
abstract
fun
readTimeout
(
)
:
Int
读取超时 时长(默认:10秒),时间单位可参见:
timeUnit
time
Unit
Link copied to clipboard
abstract
fun
timeUnit
(
)
:
TimeUnit
时间单位
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String
write
Timeout
Link copied to clipboard
abstract
fun
writeTimeout
(
)
:
Int
写入超时 时长(默认:10秒),时间单位可参见:
timeUnit