Updated flash
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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}
|
||||
|
||||
+1
-31
@@ -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.
|
||||
|
||||
|
||||
<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" />
|
||||
The project is maintained by Pixel Services and the open-source community.
|
||||
Reference in New Issue
Block a user