From 0a6fe2d7a69a2524bfba9ad6a8cbe6a4300c056c Mon Sep 17 00:00:00 2001 From: Relism Date: Fri, 28 Feb 2025 21:04:33 +0100 Subject: [PATCH] Updated flash --- flash/core-concepts/handlers.md | 2 -- flash/core-concepts/server-router.md | 2 +- flash/index.md | 32 +------------------------ index.md | 35 ++++++++++++++++++++++++++++ 4 files changed, 37 insertions(+), 34 deletions(-) diff --git a/flash/core-concepts/handlers.md b/flash/core-concepts/handlers.md index f7dc858..7677407 100644 --- a/flash/core-concepts/handlers.md +++ b/flash/core-concepts/handlers.md @@ -31,8 +31,6 @@ when a request is received. Since `RequestHandler` is an abstract class, you can leverage and chain HDI's to create cleaner and more maintainable route logic (more on that in the Handler Default Implementations guide). -```java[Example] - ### 2. SimpleHandler The `SimpleHandler` is a lightweight handler that allows you to define request handling logic in a single method using lambda notation. diff --git a/flash/core-concepts/server-router.md b/flash/core-concepts/server-router.md index c0804fa..1cc71a6 100644 --- a/flash/core-concepts/server-router.md +++ b/flash/core-concepts/server-router.md @@ -13,7 +13,7 @@ To access the router instance, you can call the `route()` method on the `FlashSe ## Creating a Route -To create a route, you need to call the `route()` method on your server's instance (in this case for simplicity, on the InternalFlashServer) +To create a route, you need to call the `route()` method on your server's instance and specify the base path of the route, followed by your handler class, ```java{6} diff --git a/flash/index.md b/flash/index.md index 7308d67..c570fe0 100644 --- a/flash/index.md +++ b/flash/index.md @@ -10,34 +10,4 @@ banner_description: "Flash is a fast and expressive web framework written in Jav # ⚡ Flash Flash is a simple, modern and fast expressive web framework written in Java. -The project is maintained by Pixel Services and the open-source community. - - - - -# Our Team - -Say hello to the Pixel Services team ! - - \ No newline at end of file +The project is maintained by Pixel Services and the open-source community. \ No newline at end of file diff --git a/index.md b/index.md index 7f7f539..eda4385 100644 --- a/index.md +++ b/index.md @@ -29,3 +29,38 @@ features: link: /mobot --- +
+ +--- + +
+ + + +# Our Team + +Say hello to the Pixel Services team ! + + +