Top Description Fields Constructors Methods
io.grpc

public final Class InternalStatus

extends Object
Class Inheritance
Annotations
@Internal
Imports
javax.annotation.Nullable

Accesses internal data. Do not use this.

Field Summary

Modifier and TypeField and Description
public static final Metadata.Key<Status>
CODE_KEY

Key to bind status code to trailing metadata.

public static final Metadata.Key<String>
MESSAGE_KEY

Key to bind status message to trailing metadata.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static final StatusRuntimeException
asRuntimeException(Status status, Metadata trailers, boolean fillInStackTrace)

Create a new StatusRuntimeException with the internal option of skipping the filling of the stack trace.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CODE_KEYback to summary
public static final Metadata.Key<Status> CODE_KEY

Key to bind status code to trailing metadata.

Annotations
@Internal
MESSAGE_KEYback to summary
public static final Metadata.Key<String> MESSAGE_KEY

Key to bind status message to trailing metadata.

Annotations
@Internal

Constructor Detail

InternalStatusback to summary
private InternalStatus()

Method Detail

asRuntimeExceptionback to summary
public static final StatusRuntimeException asRuntimeException(Status status, Metadata trailers, boolean fillInStackTrace)

Create a new StatusRuntimeException with the internal option of skipping the filling of the stack trace.

Annotations
@Internal