@ Override public void setMessage ( HttpMessage msg ) { try { if ( script != null ) { script . parseParameters ( this , msg ) ; } } catch ( Exception e ) { // Catch Exception instead of ScriptException because script engine implementations might // throw other exceptions on script errors (e.g. jdk.nashorn.internal.runtime.ECMAException) extension . handleScriptException ( wrapper , e ) ; } }
Set the current message that this Variant has to scan