Class GRpcExceptionScope.GRpcExceptionScopeBuilder
java.lang.Object
org.lognet.springboot.grpc.recovery.GRpcExceptionScope.GRpcExceptionScopeBuilder
- Enclosing class:
- GRpcExceptionScope
-
Method Summary
Modifier and TypeMethodDescriptionbuild()callHeaders(io.grpc.Metadata callHeaders)methodCallAttributes(io.grpc.Attributes methodCallAttributes)methodDescriptor(io.grpc.MethodDescriptor<?,?> methodDescriptor)responseHeaders(io.grpc.Metadata responseHeaders)headers to send to the clienttoString()
-
Method Details
-
methodDescriptor
public GRpcExceptionScope.GRpcExceptionScopeBuilder methodDescriptor(io.grpc.MethodDescriptor<?,?> methodDescriptor)- Returns:
this.
-
methodCallAttributes
public GRpcExceptionScope.GRpcExceptionScopeBuilder methodCallAttributes(io.grpc.Attributes methodCallAttributes)- Returns:
this.
-
callHeaders
- Returns:
this.
-
request
- Returns:
this.
-
response
- Returns:
this.
-
hint
- Returns:
this.
-
responseHeaders
public GRpcExceptionScope.GRpcExceptionScopeBuilder responseHeaders(io.grpc.Metadata responseHeaders)headers to send to the client- Returns:
this.
-
build
-
toString
-