Skip to content

Commit

Permalink
RFC 6570 implementation
Browse files Browse the repository at this point in the history
Reworked UriTemplateParser & UriTemplate to be better extendable and processed just once

Signed-off-by: jansupol <[email protected]>
  • Loading branch information
jansupol authored and senivam committed Aug 16, 2023
1 parent 3035f37 commit cb031c7
Show file tree
Hide file tree
Showing 8 changed files with 1,317 additions and 266 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2023 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -404,7 +404,7 @@ private static boolean[][] initEncodingTables() {

tables[Type.QUERY_PARAM_SPACE_ENCODED.ordinal()] = tables[Type.QUERY_PARAM.ordinal()];

tables[Type.FRAGMENT.ordinal()] = tables[Type.QUERY.ordinal()];
tables[Type.FRAGMENT.ordinal()] = tables[Type.PATH.ordinal()];

return tables;
}
Expand Down
194 changes: 64 additions & 130 deletions core-common/src/main/java/org/glassfish/jersey/uri/UriTemplate.java

Large diffs are not rendered by default.

Loading

0 comments on commit cb031c7

Please sign in to comment.