Replace int status code values like: 500, 200, 404, etc with constant values from StatusCodes util class.
These values where used, but not in all places.
import .* expanded
Final change from int to StatusCodes. Test are working.
1. If requested DELETE /test1 and this handler does not contain any DELETE, now it is searched if any route for /test1 was defined before calling invalidMethodHandler. Before it was always called; non uniform because after adding the route DELETE /test2, the code will search for a match for /test1 (defined by other http methods).
2. If I don't want to expose 405 (to be stealthy) or just for improving performance, I can now skip the matching done by allMethodsMatcher by setting invalidMethodHandler to null (before it was possible but will cause an exception and no call to fallbackHandler).
Remove Class.cast()
UNDERTOW-339 add builder for ip access control filter
UNDERTOW-333 access log rotates twice a day
Merge remote-tracking branch 'andreipet/StatusCodes'
Merge remote-tracking branch 'andreipet/UniformHandling'
Allow code to hook into the data ready handling in the framed channel
UNDERTOW-341 Fix date handling as if-(un)modified-since does not container a millisecond part
Should be 999 rather than 1000 ms
UNDERTOW-215 WebSocket Extensions
UNDERTOW-215 PerMessageDeflate improvements