Class RoqFrontMatterRecorder
java.lang.Object
io.quarkiverse.roq.frontmatter.runtime.RoqFrontMatterRecorder
-
Constructor Summary
ConstructorDescriptionRoqFrontMatterRecorder
(io.quarkus.vertx.http.runtime.HttpBuildTimeConfig httpConfig, RoqSiteConfig config) -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
aliasRoute
(String target) createDocument
(String collection, RoqUrl url, PageInfo info, io.vertx.core.json.JsonObject data, boolean hidden) createPage
(RoqUrl url, PageInfo info, io.vertx.core.json.JsonObject data, Paginator paginator) createRoqCollections
(Map<String, List<Supplier<DocumentPage>>> collectionSuppliers) createSite
(RootUrl rootUrl, Supplier<NormalPage> indexPage, List<Supplier<NormalPage>> normalPagesSuppliers, Supplier<RoqCollections> roqCollectionsSupplier) io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
Consumer<io.vertx.ext.web.Route>
-
Constructor Details
-
RoqFrontMatterRecorder
public RoqFrontMatterRecorder(io.quarkus.vertx.http.runtime.HttpBuildTimeConfig httpConfig, RoqSiteConfig config)
-
-
Method Details
-
createRoqCollections
public Supplier<RoqCollections> createRoqCollections(Map<String, List<Supplier<DocumentPage>>> collectionSuppliers) -
createPage
public Supplier<NormalPage> createPage(RoqUrl url, PageInfo info, io.vertx.core.json.JsonObject data, Paginator paginator) -
createDocument
public Supplier<DocumentPage> createDocument(String collection, RoqUrl url, PageInfo info, io.vertx.core.json.JsonObject data, boolean hidden) -
createSite
public Supplier<Site> createSite(RootUrl rootUrl, Supplier<NormalPage> indexPage, List<Supplier<NormalPage>> normalPagesSuppliers, Supplier<RoqCollections> roqCollectionsSupplier) -
initializeRoute
-
handler
-
aliasRoute
-