public HttpMethod getHttpMethod ( HttpMethod httpMethod , String methodExpression , Record record ) throws ELEvalException { if ( httpMethod != HttpMethod . EXPRESSION ) { return httpMethod ; } RecordEL . setRecordInContext ( methodVars , record ) ; return HttpMethod . valueOf ( methodEval . eval ( methodVars , methodExpression , String . class ) ) ; }
Determines the HTTP method to use for the next request . It may include an EL expression to evaluate .