String encoding = (String) parameters.get ("encoding"); if ("title".equals (name) && reval.res.title != null) reval.res.write (encode (reval.res.title, encoding)); else if ("head".equals (name) && reval.res.head != null) reval.res.write (encode (reval.res.head, encoding)); else if ("body".equals (name) && reval.res.body != null) reval.res.write (encode (reval.res.body, encoding)); else if ("message".equals (name) && reval.res.message != null) reval.res.write (encode (reval.res.message, encoding));
Object value = null;    if ("title".equals (name)) value = reval.res.title; else if ("head".equals (name)) value = reval.res.head; else if ("body".equals (name)) value = reval.res.body; else if ("message".equals (name)) value = reval.res.message; if (value == null) value = reval.res.get (name); if (value != null) writeToResponse (value.toString (), reval.res);
	private void renderFromResponse (RequestEvaluator reval) {	    String encoding = (String) parameters.get ("encoding");	    if ("title".equals (name) && reval.res.title != null)	        reval.res.write (encode (reval.res.title, encoding));	    else if ("head".equals (name) && reval.res.head != null)	        reval.res.write (encode (reval.res.head, encoding));	    else if ("body".equals (name) && reval.res.body != null)	        reval.res.write (encode (reval.res.body, encoding));	    else if ("message".equals (name) && reval.res.message != null)	        reval.res.write (encode (reval.res.message, encoding));	}