+ public static Object ofReadData(final InstanceIdentifierContext<?> path, final NormalizedNode data,
+ final QueryParameters parameters) {
+ return new NormalizedNodePayload(requireNonNull(path), requireNonNull(data), parameters, ImmutableMap.of());
+ }
+
+ public InstanceIdentifierContext<?> getInstanceIdentifierContext() {
+ return context;
+ }
+
+ public NormalizedNode getData() {
+ return data;
+ }
+
+ /**
+ * Return headers response headers.
+ *
+ * @return map of headers
+ */
+ // FIXME: this is only used for redirect on subscribe
+ public ImmutableMap<String, Object> getNewHeaders() {
+ return headers;
+ }
+