Interface PartService.WithRawResponse
-
- All Implemented Interfaces:
public interface PartService.WithRawResponse
A view of PartService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract PartService.WithRawResponse
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. HttpResponseFor<UploadPart>
create(String uploadId, PartCreateParams params)
Returns a raw HTTP response for post /uploads/{upload_id}/parts
, but is otherwise the same as PartService.create.HttpResponseFor<UploadPart>
create(String uploadId, PartCreateParams params, RequestOptions requestOptions)
HttpResponseFor<UploadPart>
create(PartCreateParams params)
abstract HttpResponseFor<UploadPart>
create(PartCreateParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withOptions
abstract PartService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
@MustBeClosed() HttpResponseFor<UploadPart> create(String uploadId, PartCreateParams params)
Returns a raw HTTP response for
post /uploads/{upload_id}/parts
, but is otherwise the same as PartService.create.
-
create
@MustBeClosed() HttpResponseFor<UploadPart> create(String uploadId, PartCreateParams params, RequestOptions requestOptions)
-
create
@MustBeClosed() HttpResponseFor<UploadPart> create(PartCreateParams params)
-
create
@MustBeClosed() abstract HttpResponseFor<UploadPart> create(PartCreateParams params, RequestOptions requestOptions)
-
-
-
-