Make ClientRequestContext.authority()
and host()
return non-null
#5552
Labels
Milestone
ClientRequestContext.authority()
and host()
return non-null
#5552
ClientRequestContext.authority()
andhost()
may returnnull
until the context is fully initialized. I believe there's only a small fraction of situation where a partially initialized context is available to a user. Could we make them non-null and raise an exception instead of returningnull
?There are two cases a user may see a partially initialized context:
ClientRequestContext
viaClients.newContextCaptor()
andwithContextCustomizer()
.EndpointGroup.selectNow()
andselect()
The text was updated successfully, but these errors were encountered: