| Package | Description |
|---|---|
| org.flmelody.core |
| Modifier and Type | Interface and Description |
|---|---|
interface |
RouterGroup<M> |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRouterGroup<M> |
class |
DefaultRouterGroup
default router group
|
class |
Windward |
| Modifier and Type | Method and Description |
|---|---|
Router |
Router.delete(String relativePath,
Consumer<SimpleWindwardContext> consumer)
register function with delete method
|
Router |
Router.delete(String relativePath,
Function<EnhancedWindwardContext,?> function)
register function with delete method
|
<R> Router |
Router.delete(String relativePath,
Supplier<R> supplier)
register function with delete method
|
Router |
Router.get(String relativePath,
Consumer<SimpleWindwardContext> consumer)
register function with get method
|
Router |
Router.get(String relativePath,
Function<EnhancedWindwardContext,?> function)
register function with get method
|
<R> Router |
Router.get(String relativePath,
Supplier<R> supplier)
register function with get method
|
Router |
Router.http(HttpMethod httpMethod,
String relativePath,
Consumer<SimpleWindwardContext> consumer)
register function with specific method
|
Router |
Router.http(HttpMethod httpMethod,
String relativePath,
Function<EnhancedWindwardContext,?> function)
register function with specific method
|
<R> Router |
Router.http(HttpMethod httpMethod,
String relativePath,
Supplier<R> supplier)
register function with specific method
|
Router |
Router.post(String relativePath,
Consumer<SimpleWindwardContext> consumer)
register function with post method
|
Router |
Router.post(String relativePath,
Function<EnhancedWindwardContext,?> function)
register function with post method
|
<R> Router |
Router.post(String relativePath,
Supplier<R> supplier)
register function with post method
|
Router |
Router.put(String relativePath,
Consumer<SimpleWindwardContext> consumer)
register function with put method
|
Router |
Router.put(String relativePath,
Function<EnhancedWindwardContext,?> function)
register function with put method
|
<R> Router |
Router.put(String relativePath,
Supplier<R> supplier)
register function with put method
|
Router |
Router.ws(String relativePath,
Consumer<WebSocketWindwardContext> consumer)
register websocket function
|
Copyright © 2023 flmelody. All rights reserved.