Class GRpcExceptionScope


  • public class GRpcExceptionScope
    extends java.lang.Object
    Container object that provides exception-specific attributes.
    • Method Detail

      • getRequestOrResponse

        public java.lang.Object getRequestOrResponse()
      • getHintAs

        public <T> java.util.Optional<T> getHintAs​(java.lang.Class<T> clazz)
      • getMethodDescriptor

        public io.grpc.MethodDescriptor<?,​?> getMethodDescriptor()
      • getMethodCallAttributes

        public io.grpc.Attributes getMethodCallAttributes()
      • getCallHeaders

        public io.grpc.Metadata getCallHeaders()
      • getRequest

        public java.lang.Object getRequest()
      • getResponse

        public java.lang.Object getResponse()
      • getHint

        public java.lang.Object getHint()
      • getResponseHeaders

        public io.grpc.Metadata getResponseHeaders()
        headers to send to the client