Getting Document by with ID and Revision

Hi,
we have a requirement that we need to fetch details of document based on revision also.
For example,
if the Document Contains ;
{
“id”:“12233”,
“name”:“Murali”,
“status”:“Active”
}
data in the 1st Revision.

   {
                    "id":"12233",
                    "name":"Murali",
                    "status":"Hold"
                }
  data in the 2nd Revision.

is it possible to get the document by revision-based query through Java SDK?
I can see the revision id in the metadata section, but while fetching the record I am not able to get the revision id.

it will be helpful if anyone provides how to get revision id along with the document and fetch document with id and revision id.

Thanks.