How can get more one path between source and destination(alternative paths)

hello
I want to calculate some alternative paths between source and destination.
so when i use .getAll() method, it returns one path every time.
So how can i change the graphhopper to calculate more one path?

Best Regards

You can have a look at documentation for alternative routes.

thanks
i read this before
but, how can i change the mode to flexible mode?
and can i define a special street that returned path contain this street?

Best regards

Use of flexibility mode is mentioned in documentation too.

thanks for your reply
as i said before,
can we define a special street in graphhopper that the path through it to reach the destination?

Best Regards

For searching street names there is the GraphHopper Geocoding API.