It should be possible add trailer field support as of Servlet 4.
It's a bit challenging, because there is an isTrailerFieldsReady: Boolean method, but no callback for when it turns false to true. We can start checking on the ReadListener's onAllDataRead, but we have to poll if it's false. Gross.
It should be possible add trailer field support as of Servlet 4.
It's a bit challenging, because there is an
isTrailerFieldsReady: Boolean
method, but no callback for when it turnsfalse
totrue
. We can start checking on theReadListener
'sonAllDataRead
, but we have to poll if it's false. Gross.