Java6 compatible introducing an enum for response type

With the enum type we'll return to java6, maybe it could be a project constraint using java6 instead other java version.
I don't like ``switch/case``, but it seems pretty readable than ```if/else```.