mirror of https://github.com/grpc/grpc-java.git
alts: fix typo (#6113)
This commit is contained in:
parent
252ca2a7df
commit
415212fc49
|
|
@ -384,7 +384,7 @@ public class AltsProtocolNegotiatorTest {
|
||||||
|
|
||||||
private CapturingGrpcHttp2ConnectionHandler capturingGrpcHandler() {
|
private CapturingGrpcHttp2ConnectionHandler capturingGrpcHandler() {
|
||||||
// Netty Boilerplate. We don't really need any of this, but there is a tight coupling
|
// Netty Boilerplate. We don't really need any of this, but there is a tight coupling
|
||||||
// between a Http2ConnectionHandler and its dependencies.
|
// between an Http2ConnectionHandler and its dependencies.
|
||||||
Http2Connection connection = new DefaultHttp2Connection(true);
|
Http2Connection connection = new DefaultHttp2Connection(true);
|
||||||
Http2FrameWriter frameWriter = new DefaultHttp2FrameWriter();
|
Http2FrameWriter frameWriter = new DefaultHttp2FrameWriter();
|
||||||
Http2FrameReader frameReader = new DefaultHttp2FrameReader(false);
|
Http2FrameReader frameReader = new DefaultHttp2FrameReader(false);
|
||||||
|
|
|
||||||
|
|
@ -111,7 +111,7 @@ public class GrpcSslContexts {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
|
* Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
|
||||||
*
|
*
|
||||||
* @see SslContextBuilder#forClient()
|
* @see SslContextBuilder#forClient()
|
||||||
* @see #configure(SslContextBuilder)
|
* @see #configure(SslContextBuilder)
|
||||||
|
|
@ -121,7 +121,7 @@ public class GrpcSslContexts {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
|
* Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
|
||||||
*
|
*
|
||||||
* @see SslContextBuilder#forServer(File, File)
|
* @see SslContextBuilder#forServer(File, File)
|
||||||
* @see #configure(SslContextBuilder)
|
* @see #configure(SslContextBuilder)
|
||||||
|
|
@ -131,7 +131,7 @@ public class GrpcSslContexts {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
|
* Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
|
||||||
*
|
*
|
||||||
* @see SslContextBuilder#forServer(File, File, String)
|
* @see SslContextBuilder#forServer(File, File, String)
|
||||||
* @see #configure(SslContextBuilder)
|
* @see #configure(SslContextBuilder)
|
||||||
|
|
@ -142,7 +142,7 @@ public class GrpcSslContexts {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
|
* Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
|
||||||
*
|
*
|
||||||
* @see SslContextBuilder#forServer(InputStream, InputStream)
|
* @see SslContextBuilder#forServer(InputStream, InputStream)
|
||||||
* @see #configure(SslContextBuilder)
|
* @see #configure(SslContextBuilder)
|
||||||
|
|
@ -152,7 +152,7 @@ public class GrpcSslContexts {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a SslContextBuilder with ciphers and APN appropriate for gRPC.
|
* Creates an SslContextBuilder with ciphers and APN appropriate for gRPC.
|
||||||
*
|
*
|
||||||
* @see SslContextBuilder#forServer(InputStream, InputStream, String)
|
* @see SslContextBuilder#forServer(InputStream, InputStream, String)
|
||||||
* @see #configure(SslContextBuilder)
|
* @see #configure(SslContextBuilder)
|
||||||
|
|
|
||||||
|
|
@ -1099,7 +1099,7 @@ class OkHttpClientTransport implements ConnectionClientTransport, TransportExcep
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle a HTTP2 DATA frame.
|
* Handle an HTTP2 DATA frame.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void data(boolean inFinished, int streamId, BufferedSource in, int length)
|
public void data(boolean inFinished, int streamId, BufferedSource in, int length)
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ final class OkHttpTlsUpgrader {
|
||||||
Collections.unmodifiableList(Arrays.asList(Protocol.GRPC_EXP, Protocol.HTTP_2));
|
Collections.unmodifiableList(Arrays.asList(Protocol.GRPC_EXP, Protocol.HTTP_2));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Upgrades given Socket to be a SSLSocket.
|
* Upgrades given Socket to be an SSLSocket.
|
||||||
*
|
*
|
||||||
* @throws IOException if an IO error was encountered during the upgrade handshake.
|
* @throws IOException if an IO error was encountered during the upgrade handshake.
|
||||||
* @throws RuntimeException if the upgrade negotiation failed.
|
* @throws RuntimeException if the upgrade negotiation failed.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue