Long interval
Long waitTime
Integer threadNum
SiteRule site
LinkRule link
ContentRule content
List<E> rules
String url
String method
String referrer
String userAgent
int connectTimeout
long priority
long depth
Map<K,V> extras
Map<K,V> cookies
Map<K,V> headers
MatcherRule contentPageRule
PageRule pageRule
String userAgent
String referrer
String cacheControl
String cookieValue
long maxDepth
int retryCount
String failureMark
Integer interceptCount
String cookieSpec
boolean redirectsEnabled
boolean relativeRedirectsAllowed
确定是否应拒绝相对重定向。 HTTP规范要求位置值是绝对URI。 默认为false
boolean circularRedirectsAllowed
确定是否应允许循环重定向(重定向到同一位置)。 HTTP规范不够清楚是否允许循环重定向,因此可以选择启用它们
默认为false
int maxRedirects
int connectTimeout
确定连接建立之前的超时时间(以毫秒为单位)。 超时值零被解释为无限超时,负值被解释为未定义(如果适用,则为系统默认值)。 默认为30秒(30000毫秒)
boolean contentCompressionEnabled
确定是否请求目标服务器压缩内容。 默认为true
boolean normalizeUri
确定客户端是否应规范请求中的URI。 默认为true
List<E> headers
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.