@Override public UriInfo parseAll(final List<PathSegment> pathSegments, final Map<String, List<String>> allQueryParameters) throws UriSyntaxException, UriNotMatchingException, EdmException { this.pathSegments = copyPathSegmentList(pathSegments); systemQueryOptions = new HashMap<SystemQueryOption, String>(); otherQueryParameters = new HashMap<String, String>(); uriResult = new UriInfoImpl(); preparePathSegments(); handleResourcePath(); distributeQueryParameters(allQueryParameters); checkSystemQueryOptionsCompatibility(); handleSystemQueryOptions(); handleOtherQueryParameters(); return uriResult; }
@Override public UriInfo parseAll(final List<PathSegment> pathSegments, final Map<String, List<String>> allQueryParameters) throws UriSyntaxException, UriNotMatchingException, EdmException { this.pathSegments = copyPathSegmentList(pathSegments); systemQueryOptions = new HashMap<SystemQueryOption, String>(); otherQueryParameters = new HashMap<String, String>(); uriResult = new UriInfoImpl(); preparePathSegments(); handleResourcePath(); distributeQueryParameters(allQueryParameters); checkSystemQueryOptionsCompatibility(); handleSystemQueryOptions(); handleOtherQueryParameters(); return uriResult; }
/** * Parse the URI part after an OData service root, * already splitted into path segments and query parameters. * @param pathSegments the {@link PathSegment}s of the resource path, * potentially percent-encoded * @param queryParameters the query parameters, already percent-decoded * @return a {@link UriInfoImpl} instance containing the parsed information */ @Override public UriInfo parse(final List<PathSegment> pathSegments, final Map<String, String> queryParameters) throws UriSyntaxException, UriNotMatchingException, EdmException { this.pathSegments = copyPathSegmentList(pathSegments); systemQueryOptions = new HashMap<SystemQueryOption, String>(); otherQueryParameters = new HashMap<String, String>(); uriResult = new UriInfoImpl(); preparePathSegments(); handleResourcePath(); distributeQueryParameters(queryParameters); checkSystemQueryOptionsCompatibility(); handleSystemQueryOptions(); handleOtherQueryParameters(); return uriResult; }