Package ai.webscraping.option
Class CommonOptions
java.lang.Object
ai.webscraping.option.CommonOptions
- Direct Known Subclasses:
FieldsOptions,HtmlOptions,QuestionOptions,SelectedMultipleOptions,SelectedOptions,TextOptions
Shared options applicable to every API endpoint. Per-endpoint option
classes (
HtmlOptions, TextOptions, …) extend this and add
the endpoint-specific fields.
All optional booleans/integers are nullable so "not set" can be distinguished from a zero/false value — unset fields are dropped from the wire and the server applies its own defaults.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCommonOptions.BaseBuilder<O,B extends CommonOptions.BaseBuilder<O, B>> Curiously-recurring base builder. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CommonOptions
-
-
Method Details
-
getHeaders
-
getTimeout
-
getJs
-
getJsTimeout
-
getWaitFor
-
getProxy
-
getCountry
-
getCustomProxy
-
getDevice
-
getErrorOn404
-
getErrorOnRedirect
-
getJsScript
-