Reorganized query and path parameters constants
This commit is contained in:
parent
58e80626a7
commit
73de846d82
|
@ -100,7 +100,7 @@ public class ResourceRegistrySchemaClientImpl implements ResourceRegistrySchemaC
|
|||
gxHTTPStringRequest.path(typeName);
|
||||
|
||||
Map<String,String> parameters = new HashMap<>();
|
||||
parameters.put(TypePath.POLYMORPHIC_PARAM, Boolean.FALSE.toString());
|
||||
parameters.put(TypePath.POLYMORPHIC_QUERY_PARAMETER, Boolean.FALSE.toString());
|
||||
gxHTTPStringRequest.queryParams(parameters);
|
||||
|
||||
HttpURLConnection httpURLConnection = gxHTTPStringRequest.head();
|
||||
|
@ -143,7 +143,7 @@ public class ResourceRegistrySchemaClientImpl implements ResourceRegistrySchemaC
|
|||
|
||||
Map<String,String> parameters = new HashMap<>();
|
||||
if(polymorphic != null) {
|
||||
parameters.put(TypePath.POLYMORPHIC_PARAM, polymorphic.toString());
|
||||
parameters.put(TypePath.POLYMORPHIC_QUERY_PARAMETER, polymorphic.toString());
|
||||
}
|
||||
gxHTTPStringRequest.queryParams(parameters);
|
||||
|
||||
|
|
Loading…
Reference in New Issue