Class ParseUrl
java.lang.Object
software.amazon.smithy.rulesengine.language.syntax.fn.FunctionDefinition
software.amazon.smithy.rulesengine.language.stdlib.ParseUrl
A rule-set function to parse a URI from a string.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Identifierstatic final Stringstatic final Identifierstatic final Identifierstatic final Identifierstatic final Identifier
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionEvaluate the arguments to a given function to compute a result.The arguments to this function.getId()The ID of this function.The return type of this function definition.static FunctionofExpression(Expression expression) 
- 
Field Details- 
ID- See Also:
 
- 
SCHEME
- 
AUTHORITY
- 
PATH
- 
NORMALIZED_PATH
- 
IS_IP
 
- 
- 
Constructor Details- 
ParseUrlpublic ParseUrl()
 
- 
- 
Method Details- 
getIdDescription copied from class:FunctionDefinitionThe ID of this function.- Specified by:
- getIdin class- FunctionDefinition
- Returns:
- The ID string
 
- 
getArgumentsDescription copied from class:FunctionDefinitionThe arguments to this function.- Specified by:
- getArgumentsin class- FunctionDefinition
- Returns:
- The function arguments
 
- 
ofExpression
- 
getReturnTypeDescription copied from class:FunctionDefinitionThe return type of this function definition.- Specified by:
- getReturnTypein class- FunctionDefinition
- Returns:
- The function return type
 
- 
evaluateDescription copied from class:FunctionDefinitionEvaluate the arguments to a given function to compute a result.- Specified by:
- evaluatein class- FunctionDefinition
- Returns:
- The resulting value
 
 
-