Is it possible to access the prismic API and retrieve the rich text fields as HTML format? Our intention is to utilize this feature in conjunction with Java programming language.
It isn't possible to retrieve the content of a rich text field as HTML directly from the API. It will need to be converted from its JSON form into HTML. We provide libraries that can do this, such as our @prismicio/client library.
There is an unofficial Java kit, but we can't guarantee that it will be up-to-date and work with all the latest features. I suspect, though, that it would be capable of converting your rich text field to HTML, so it might be worth checking out. Here are the docs for it.
Let me know if you have any other questions about this or anything else.