Class ContentServiceImpl
-
- All Implemented Interfaces:
-
com.openai.services.blocking.containers.files.ContentService
public final class ContentServiceImpl implements ContentService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContentServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ContentService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. ContentServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. HttpResponseretrieve(ContentRetrieveParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
ContentService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
ContentService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
HttpResponse retrieve(ContentRetrieveParams params, RequestOptions requestOptions)
-
-
-
-