| Package | Description |
|---|---|
| org.flmelody.core |
| Modifier and Type | Method and Description |
|---|---|
Windward |
Windward.delete(String relativePath,
Consumer<? extends WindwardContext> consumer)
register function with delete method
|
Windward |
Windward.get(String relativePath,
Consumer<? extends WindwardContext> consumer)
register function with get method
|
<R> Windward |
Windward.get(String relativePath,
Supplier<R> supplier)
register function with get method
|
Windward |
Windward.post(String relativePath,
Consumer<? extends WindwardContext> consumer)
register function with post method
|
Windward |
Windward.put(String relativePath,
Consumer<? extends WindwardContext> consumer)
register function with put method
|
Windward |
Windward.registerHandler(Handler... handlers)
register handler
|
static Windward |
Windward.setup() |
static Windward |
Windward.setup(int port,
Handler... handlers)
prepare core engine of Windward
|
static Windward |
Windward.setup(int port,
String relativePath,
Handler... handlers)
prepare core engine of Windward
|
Windward |
Windward.then() |
Copyright © 2023 flmelody. All rights reserved.