jetty.project
jetty.project copied to clipboard
Fixes #12266 - InvocationType improvements and cleanups.
trafficstars
- Removed usages of
AbstractConnection.getInvocationType(). - Changed HTTP server-side Connection implementations to use
AbstractConnection.fillInterested(Callback)with a callback that specifies theInvocationType, derived from theServer, which derives it from theHandlerchain. - Changed client-side receivers to use
AbstractConnection.fillInterested(Callback)with a callback that specifies theInvocationType, derived from theHttpClientTransport. - Introduced
HttpClientTransport.getInvocationType(Connection), so that client applications can specify whether they block or not. - Made sure client-side HTTP/2 and HTTP/3 return tasks with the proper
InvocationTypeto be run by theExecutionStrategywhen calling application code. - HTTP3StreamConnection now uses an
EITHERfillable callback to possibly process streams in parallel. QuicStreamEndPointnow uses a task to invokeFillInterest.fillable(), rather than invoking it directly, therefore honoring theInvocationTypeof callback set by theConnectionassociated with theQuicStreamEndPoint.