Supports String, byte[] as response type.