Read the sessiondata only if requestdata is not null.
Append Character instead of a String when possible
Small perfomance improvement - Component#isAuto() walks the parents so it is more expensive than the other checks.
Always check it last.

Pointed-by: Yourkit