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). 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 ### 2. SimpleHandler
The `SimpleHandler` is a lightweight handler that allows you to define request handling logic in a single method using lambda notation. 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 ## 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, and specify the base path of the route, followed by your handler class,
```java{6} ```java{6}
+1 -31
View File
@@ -10,34 +10,4 @@ banner_description: "Flash is a fast and expressive web framework written in Jav
# ⚡ Flash # ⚡ Flash
Flash is a simple, modern and fast expressive web framework written in Java. 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. The project is maintained by Pixel Services and the open-source community.
<script setup>
import { VPTeamMembers } from 'vitepress/theme';
const members = [
{
avatar: 'https://avatars.githubusercontent.com/u/83401018?v=4',
name: 'Relism',
title: 'Developer',
links: [
{ icon: 'github', link: 'https://github.com/Relism' },
]
},
{
avatar: 'https://avatars.githubusercontent.com/u/69807609?v=4',
name: 'Sieadev',
title: 'Developer',
links: [
{ icon: 'github', link: 'https://github.com/sieadev' },
]
},
]
</script>
# Our Team
Say hello to the Pixel Services team !
<VPTeamMembers size="small" :members="members" />
+35
View File
@@ -29,3 +29,38 @@ features:
link: /mobot link: /mobot
--- ---
<br>
---
<br>
<script setup>
import { VPTeamMembers } from 'vitepress/theme';
const members = [
{
avatar: 'https://avatars.githubusercontent.com/u/83401018?v=4',
name: 'Relism',
title: 'Backend Developer',
links: [
{ icon: 'github', link: 'https://github.com/Relism' },
]
},
{
avatar: 'https://avatars.githubusercontent.com/u/69807609?v=4',
name: 'Sieadev',
title: 'Developer',
links: [
{ icon: 'github', link: 'https://github.com/sieadev' },
]
},
]
</script>
# Our Team
Say hello to the Pixel Services team !
<VPTeamMembers size="small" :members="members" />