class ResumableIOExceptionFilter implements IOExceptionFilter {

    @Override
    public <T> FilterContext<T> filter(FilterContext<T> ctx) {<FILL_FUNCTION_BODY>}
}

        if (ctx.getIOException() != null && ctx.getAsyncHandler() instanceof ResumableAsyncHandler) {
            Request request = ((ResumableAsyncHandler) ctx.getAsyncHandler()).adjustRequestRange(ctx.getRequest());
            return new FilterContext.FilterContextBuilder<>(ctx).request(request).replayRequest(true).build();
        }
        return ctx;
    
<no_super_class>