public static HttpServletRequest getHttpServletRequestFromExternalWebflowContext(final RequestContext context) {
        Assert.isInstanceOf(ServletExternalContext.class, context.getExternalContext(),
            "Cannot obtain HttpServletRequest from event of type: "
                + context.getExternalContext().getClass().getName());

        return (HttpServletRequest) context.getExternalContext().getNativeRequest();
    }
public static HttpServletRequest getHttpServletRequestFromExternalWebflowContext ( final RequestContext context ) { Assert . isInstanceOf ( ServletExternalContext . class , context . getExternalContext ( ) , "Cannot obtain HttpServletRequest from event of type: " + context . getExternalContext ( ) . getClass ( ) . getName ( ) ) ; return ( HttpServletRequest ) context . getExternalContext ( ) . getNativeRequest ( ) ; }
Gets the http servlet request from the context.

@param context the context
@return the http servlet request