Updated flash

This commit is contained in:
Relism
2025-02-28 21:04:33 +01:00
parent 55cc97e4fc
commit 0a6fe2d7a6
4 changed files with 37 additions and 34 deletions
-2
View File
@@ -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.
+1 -1
View File
@@ -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}