class JEEContextFactory implements WebContextFactory {

    /** Constant <code>INSTANCE</code> */
    public static final WebContextFactory INSTANCE = new JEEContextFactory();

    /** {@inheritDoc} */
    @Override
    public JEEContext newContext(final FrameworkParameters parameters) {<FILL_FUNCTION_BODY>}
}

        if (parameters instanceof JEEFrameworkParameters jeeFrameworkParameters) {
            return new JEEContext(jeeFrameworkParameters.getRequest(), jeeFrameworkParameters.getResponse());
        }
        throw new TechnicalException("Bad parameters type");
    
<no_super_class>