Interface ContentService
-
- All Implemented Interfaces:
public interface ContentService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
ContentService.WithRawResponse
A view of ContentService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract ContentService.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. abstract ContentService
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. HttpResponse
retrieve(String fileId, ContentRetrieveParams params)
Retrieve Container File Content HttpResponse
retrieve(String fileId, ContentRetrieveParams params, RequestOptions requestOptions)
HttpResponse
retrieve(ContentRetrieveParams params)
abstract HttpResponse
retrieve(ContentRetrieveParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
abstract ContentService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract 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
@MustBeClosed() HttpResponse retrieve(String fileId, ContentRetrieveParams params)
Retrieve Container File Content
-
retrieve
@MustBeClosed() HttpResponse retrieve(String fileId, ContentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() HttpResponse retrieve(ContentRetrieveParams params)
-
retrieve
@MustBeClosed() abstract HttpResponse retrieve(ContentRetrieveParams params, RequestOptions requestOptions)
-
-
-
-