Rework body formatting wiring
[netconf.git] / restconf / restconf-nb / src / main / java / org / opendaylight / restconf / nb / rfc8040 / streams / RestconfStreamServletFactory.java
index 14848ad48c2567f6b676bb2836d56be174f1f8f0..0ec164a1a3f5baf8857c1cfd7c1a651658a1f8d0 100644 (file)
@@ -9,6 +9,7 @@ package org.opendaylight.restconf.nb.rfc8040.streams;
 
 import javax.servlet.http.HttpServlet;
 import org.eclipse.jdt.annotation.NonNull;
+import org.opendaylight.restconf.api.query.PrettyPrintParam;
 import org.opendaylight.restconf.server.spi.RestconfStream;
 
 /**
@@ -27,4 +28,6 @@ public interface RestconfStreamServletFactory {
     @NonNull String restconf();
 
     @NonNull HttpServlet newStreamServlet();
+
+    @NonNull PrettyPrintParam prettyPrint();
 }