Package io.grpc.netty
Class InternalProtocolNegotiationEvent
- java.lang.Object
-
- io.grpc.netty.InternalProtocolNegotiationEvent
-
@Internal public final class InternalProtocolNegotiationEvent extends java.lang.Object
Internal accessor forProtocolNegotiationEvent
.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
InternalProtocolNegotiationEvent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Attributes
getAttributes(ProtocolNegotiationEvent event)
static ProtocolNegotiationEvent
getDefault()
static InternalChannelz.Security
getSecurity(ProtocolNegotiationEvent event)
static ProtocolNegotiationEvent
withAttributes(ProtocolNegotiationEvent event, Attributes attributes)
static ProtocolNegotiationEvent
withSecurity(ProtocolNegotiationEvent event, InternalChannelz.Security security)
-
-
-
Method Detail
-
getDefault
public static ProtocolNegotiationEvent getDefault()
-
withAttributes
public static ProtocolNegotiationEvent withAttributes(ProtocolNegotiationEvent event, Attributes attributes)
-
withSecurity
public static ProtocolNegotiationEvent withSecurity(ProtocolNegotiationEvent event, @Nullable InternalChannelz.Security security)
-
getAttributes
public static Attributes getAttributes(ProtocolNegotiationEvent event)
-
getSecurity
@Nullable public static InternalChannelz.Security getSecurity(ProtocolNegotiationEvent event)
-
-