List of usage examples for io.netty.handler.codec.http2 Http2Exception streamError
public static Http2Exception streamError(int id, Http2Error error, String fmt, Object... args)
From source file:io.grpc.netty.NettyServerHandler.java
License:Apache License
private Http2Exception newStreamException(int streamId, Throwable cause) { return Http2Exception.streamError(streamId, Http2Error.INTERNAL_ERROR, cause, Strings.nullToEmpty(cause.getMessage())); }