Class AttachmentGrpc.AttachmentBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<AttachmentGrpc.AttachmentBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<AttachmentGrpc.AttachmentBlockingV2Stub>
io.github.xezzon.zeroweb.attachment.AttachmentGrpc.AttachmentBlockingV2Stub
- Enclosing class:
AttachmentGrpc
public static final class AttachmentGrpc.AttachmentBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<AttachmentGrpc.AttachmentBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service Attachment.
附件管理服务
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T> -
Method Summary
Modifier and TypeMethodDescriptionio.grpc.stub.BlockingClientCall<?, FileDownloadResponse> downloadFile(FileDownloadRequest request) 文件下载查询文件列表io.grpc.stub.BlockingClientCall<FileUploadRequest, FileUploadResponse> 文件上传Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
uploadFile
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<FileUploadRequest, FileUploadResponse> uploadFile()文件上传
-
queryAttachment
查询文件列表
-
downloadFile
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?, FileDownloadResponse> downloadFile(FileDownloadRequest request) 文件下载
-