Make ClientRequestContext.authority()
and host()
return non-null
#5552
Labels
Milestone
Content-Length: 231490 | pFad | https://github.com/line/armeria/issues/5552
CBClientRequestContext.authority()
and host()
return non-null
#5552
Fetched URL: https://github.com/line/armeria/issues/5552
Alternative Proxies:
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: