Add empty BodyParser to Java API

This PR is part of the work I've been doing to improve the performance of the Java API. Using an empty BodyParser can improve the performance of actions, but until now has only been available in the Scala API.