Interface DestinationBuilder
public interface DestinationBuilder
-
Method Summary
Modifier and TypeMethodDescriptionReplaces all occurrences of a substring in the destination URL with a new substring.replaceParameter(String parameter, String newValue) Replaces the value of a specific parameter in the destination URL.replaceURLString(String urlString) Replaces the entire destination URL string with a new URL string.
-
Method Details
-
replace
Replaces all occurrences of a substring in the destination URL with a new substring.- Parameters:
oldSub- The substring to be replaced.newSub- The replacement substring.- Returns:
- This
DestinationBuilderinstance.
-
replaceParameter
Replaces the value of a specific parameter in the destination URL.- Parameters:
parameter- The name of the parameter to replace.newValue- The new value for the parameter.- Returns:
- This
DestinationBuilderinstance.
-
replaceURLString
Replaces the entire destination URL string with a new URL string.- Parameters:
urlString- The new URL string to replace the existing destination URL.- Returns:
- This
DestinationBuilderinstance.
-