MCPcopy Create free account
hub / github.com/grpc/grpc-java / getSecurityLevel

Method getSecurityLevel

api/src/main/java/io/grpc/ServerCall.java:237–240  ·  view source on GitHub ↗

Returns the level of security guarantee in communications Determining the level of security offered by the transport for RPCs on server-side. This can be approximated by looking for the SSLSession, but that doesn't work for ALTS and maybe some future TLS approaches. May return a lower security l

()

Source from the content-addressed store, hash-verified

235 * @return non-{@code null} SecurityLevel enum
236 */
237 @ExperimentalApi("https://github.com/grpc/grpc-java/issues/4692")
238 public SecurityLevel getSecurityLevel() {
239 return SecurityLevel.NONE;
240 }
241
242 /**
243 * Returns properties of a single call.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected