Interface ContentService.WithRawResponse
-
- All Implemented Interfaces:
public interface ContentService.WithRawResponseA view of ContentService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract ContentService.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. HttpResponseretrieve(String fileId, ContentRetrieveParams params)Returns a raw HTTP response for get /containers/{container_id}/files/{file_id}/content, but is otherwise the same as ContentService.retrieve.HttpResponseretrieve(String fileId, ContentRetrieveParams params, RequestOptions requestOptions)HttpResponseretrieve(ContentRetrieveParams params)abstract HttpResponseretrieve(ContentRetrieveParams params, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract ContentService.WithRawResponse 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)
Returns a raw HTTP response for
get /containers/{container_id}/files/{file_id}/content, but is otherwise the same as ContentService.retrieve.
-
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)
-
-
-
-