-
- All Implemented Interfaces:
-
com.datadog.android.api.instrumentation.network.HttpRequestInfoBuilder
public final class OkHttpRequestInfoBuilder implements HttpRequestInfoBuilderFor internal usage only.
HttpRequestInfoBuilder implementation for OkHttp requests. Allows modifying request properties such as URL, headers, and tags.
-
-
Constructor Summary
Constructors Constructor Description OkHttpRequestInfoBuilder(Request.Builder requestBuilder)
-
Method Summary
Modifier and Type Method Description <ERROR CLASS>setUrl(String url)<ERROR CLASS>addHeader(String key, String values)<ERROR CLASS>setMethod(String method, HttpRequestBody body)<ERROR CLASS>removeHeader(String key)<T extends Any> <ERROR CLASS>addTag(Class<in T> type, T tag)HttpRequestInfobuild()-
-
Method Detail
-
removeHeader
<ERROR CLASS> removeHeader(String key)
-
build
HttpRequestInfo build()
-
-
-
-