@Override
    public WebRequest newWebRequest(final HttpServletRequest _servletRequest,
                                    final String _filterPath)
    {
        if (EFapsApplication.MAXINACTIVEINTERVAL == 0) {
            final int interval = _servletRequest.getSession().getMaxInactiveInterval();
            if (interval == 0) {
                EFapsApplication.MAXINACTIVEINTERVAL = -1;
            } else {
                EFapsApplication.MAXINACTIVEINTERVAL = interval;
            }
        }
        return new EFapsRequest(_servletRequest, _filterPath);
    }
@Override
    public WebRequest newWebRequest(final HttpServletRequest _servletRequest,
                                    final String _filterPath)
    {
        if (EFapsApplication.MAXINACTIVEINTERVAL == 0) {
            final int interval = _servletRequest.getSession().getMaxInactiveInterval();
            if (interval == 0) {
                EFapsApplication.MAXINACTIVEINTERVAL = -1;
            } else {
                EFapsApplication.MAXINACTIVEINTERVAL = interval;
            }
        }
        return new EFapsRequest(_servletRequest, _filterPath);
    }
@ Override public WebRequest newWebRequest ( final HttpServletRequest _servletRequest , final String _filterPath ) { if ( EFapsApplication . MAXINACTIVEINTERVAL == 0 ) { final int interval = _servletRequest . getSession ( ) . getMaxInactiveInterval ( ) ; if ( interval == 0 ) { EFapsApplication . MAXINACTIVEINTERVAL = - 1 ; } else { EFapsApplication . MAXINACTIVEINTERVAL = interval ; } } return new EFapsRequest ( _servletRequest , _filterPath ) ; }
@param _servletRequest request
@param _filterPath path

@return a new WebRequest
@param _servletRequest request @param _filterPath path