You have a few techniques to deliver the byte stream using Queue API,
Using TaskOptions.payload method
Using TaskOptions.params method
I will demonstrate how to write & read the byte stream information since there are some minor issues with google appengine implementation :)
Writing the bytes:
// task is an instance of TaskOptions
// Base64 - Apache implementation is being used here to encode bytes as base 64
// taskBytes - your serialized bytes
task.param("Enter-Parameter-Name", Base64.encodeBase64(taskBytes));
Reading the bytes:
// Base64 - Apache implementation is being used here to encode bytes as base 64
byte[] questionsBytes = Base64.decodeBase64(request.getParameter("Enter-Parameter-Name").getBytes());
This solution works fine for me.
All the Best
Uri