Class AttachmentGrpcEndpoint

java.lang.Object
io.github.xezzon.zeroweb.attachment.AttachmentGrpc.AttachmentImplBase
io.github.xezzon.zeroweb.attachment.internal.AttachmentGrpcEndpoint
All Implemented Interfaces:
io.github.xezzon.zeroweb.attachment.AttachmentGrpc.AsyncService, io.grpc.BindableService

@GrpcService public class AttachmentGrpcEndpoint extends io.github.xezzon.zeroweb.attachment.AttachmentGrpc.AttachmentImplBase
附件管理
Author:
xezzon
  • Constructor Summary

    Constructors
    Constructor
    Description
    依赖注入
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    downloadFile(io.github.xezzon.zeroweb.attachment.FileDownloadRequest request, io.grpc.stub.StreamObserver<io.github.xezzon.zeroweb.attachment.FileDownloadResponse> responseObserver)
     
    void
    queryAttachment(io.github.xezzon.zeroweb.attachment.QueryAttachmentListRequest request, io.grpc.stub.StreamObserver<io.github.xezzon.zeroweb.attachment.AttachmentList> responseObserver)
     
    io.grpc.stub.StreamObserver<io.github.xezzon.zeroweb.attachment.FileUploadRequest>
    uploadFile(io.grpc.stub.StreamObserver<io.github.xezzon.zeroweb.attachment.FileUploadResponse> responseObserver)
     

    Methods inherited from class io.github.xezzon.zeroweb.attachment.AttachmentGrpc.AttachmentImplBase

    bindService

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AttachmentGrpcEndpoint

      public AttachmentGrpcEndpoint(AttachmentService attachmentService)
      依赖注入
      Parameters:
      attachmentService - 附件服务
  • Method Details

    • uploadFile

      public io.grpc.stub.StreamObserver<io.github.xezzon.zeroweb.attachment.FileUploadRequest> uploadFile(io.grpc.stub.StreamObserver<io.github.xezzon.zeroweb.attachment.FileUploadResponse> responseObserver)
    • queryAttachment

      public void queryAttachment(io.github.xezzon.zeroweb.attachment.QueryAttachmentListRequest request, io.grpc.stub.StreamObserver<io.github.xezzon.zeroweb.attachment.AttachmentList> responseObserver)
    • downloadFile

      public void downloadFile(io.github.xezzon.zeroweb.attachment.FileDownloadRequest request, io.grpc.stub.StreamObserver<io.github.xezzon.zeroweb.attachment.FileDownloadResponse> responseObserver)