The differnce between Graphhopper.forServer and forDesktop is only the call to setSimplifyResponse(false). The docstrings suggest that forDesktop is recommended if GH is used within another Java application:
Configures the underlying storage to be used on a Desktop computer or within another Java application with enough RAM but no network latency.
Is forDesktop faster than forServer?