public class UriParserImpl extends UriParser
| Constructor and Description |
|---|
UriParserImpl(Edm edm) |
| Modifier and Type | Method and Description |
|---|---|
ExpandSelectTreeNode |
buildExpandSelectTree(List<SelectItem> select,
List<ArrayList<NavigationPropertySegment>> expand) |
protected PathSegment |
buildPathSegment(String path,
Map<String,List<String>> matrixParameters) |
List<KeyPredicate> |
getKeyFromEntityLink(EdmEntitySet entitySet,
String entityLink,
URI serviceRoot) |
UriInfo |
parse(List<PathSegment> pathSegments,
Map<String,String> queryParameters)
Parse the URI part after an OData service root,
already splitted into path segments and query parameters.
|
UriInfo |
parse(List<PathSegment> pathSegments,
Map<String,String> queryParameters,
boolean strictFilter) |
UriInfo |
parseAll(List<PathSegment> pathSegments,
Map<String,List<String>> allQueryParameters) |
FilterExpression |
parseFilterString(EdmEntityType entityType,
String expression) |
OrderByExpression |
parseOrderByString(EdmEntityType entityType,
String expression) |
createExpandSelectTree, createPathSegment, getKeyPredicatesFromEntityLink, parse, parse, parseFilter, parseOrderBypublic UriParserImpl(Edm edm)
public UriInfo parse(List<PathSegment> pathSegments, Map<String,String> queryParameters) throws UriSyntaxException, UriNotMatchingException, EdmException
parse in class UriParserpathSegments - the PathSegments of the resource path,
potentially percent-encodedqueryParameters - the query parameters, already percent-decodedUriInfoImpl instance containing the parsed informationUriSyntaxExceptionUriNotMatchingExceptionEdmExceptionpublic UriInfo parse(List<PathSegment> pathSegments, Map<String,String> queryParameters, boolean strictFilter) throws UriSyntaxException, UriNotMatchingException, EdmException
parse in class UriParserUriSyntaxExceptionUriNotMatchingExceptionEdmExceptionpublic UriInfo parseAll(List<PathSegment> pathSegments, Map<String,List<String>> allQueryParameters) throws UriSyntaxException, UriNotMatchingException, EdmException
parseAll in class UriParserUriSyntaxExceptionUriNotMatchingExceptionEdmExceptionpublic FilterExpression parseFilterString(EdmEntityType entityType, String expression) throws ODataMessageException
parseFilterString in class UriParserODataMessageExceptionpublic OrderByExpression parseOrderByString(EdmEntityType entityType, String expression) throws ODataMessageException
parseOrderByString in class UriParserODataMessageExceptionpublic ExpandSelectTreeNode buildExpandSelectTree(List<SelectItem> select, List<ArrayList<NavigationPropertySegment>> expand) throws EdmException
buildExpandSelectTree in class UriParserEdmExceptionprotected PathSegment buildPathSegment(String path, Map<String,List<String>> matrixParameters)
buildPathSegment in class UriParserpublic List<KeyPredicate> getKeyFromEntityLink(EdmEntitySet entitySet, String entityLink, URI serviceRoot) throws ODataException
getKeyFromEntityLink in class UriParserODataExceptionCopyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.