diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt index c9261b447..f6b0b83fd 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt @@ -48,14 +48,12 @@ class AnalyzeUrl( private set var queryStr: String? = null private set - val fieldMap = LinkedHashMap() - val headerMap = HashMap() + private val fieldMap = LinkedHashMap() + private val headerMap = HashMap() private var charset: String? = null private var bodyTxt: String? = null - lateinit var body: RequestBody - private set - var method = Method.GET - private set + private lateinit var body: RequestBody + private var method = Method.GET val postData: ByteArray get() {