Package com.alibaba.dashscope
Class RequestOptions
java.lang.Object
com.alibaba.dashscope.RequestOptions
Per-call overrides (design §2): every resource method has a
(params, RequestOptions)
overload. Null fields inherit the client-level resolved config.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestOptions.Builderbuilder()Enables the DashScope encrypted HTTP channel for this call.Extra headers; applied last, may override SDK-set headers.Single-request timeout; overrides the client default for this call only.Maximum buffered WebSocket events per task; null/0 keeps the default unbounded behavior.
-
Field Details
-
NONE
-
-
Method Details
-
builder
-
toBuilder
-
getTimeout
Single-request timeout; overrides the client default for this call only. -
getMaxRetries
-
getApiKey
-
getWorkspace
-
getHeaders
Extra headers; applied last, may override SDK-set headers. -
getEnableEncryption
Enables the DashScope encrypted HTTP channel for this call. -
getWsQueueCapacity
Maximum buffered WebSocket events per task; null/0 keeps the default unbounded behavior.
-