public final class BaseUriUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Request |
rebaseRequest(Expression<String> baseUri,
Bindings bindings,
Request request)
Rebase the URI of the request based on the evaluation of the baseUri expression.
|
public static Request rebaseRequest(Expression<String> baseUri, Bindings bindings, Request request) throws URISyntaxException
baseUri
- The expression representing the new baseUri to use for the request.bindings
- The bindings used for the evaluation of the baseUri expression.request
- The request to rebase.URISyntaxException
- If the baseUri expression evaluates to null or the resulting
value is not a valid URI.Copyright 2011-2017 ForgeRock AS.