[Java] Class DefaultEndpointStrategy