| Package | Description |
|---|---|
| org.flmelody.core | |
| org.flmelody.core.plugin.resolver |
| Modifier and Type | Method and Description |
|---|---|
Windward |
Windward.delete(String relativePath,
Consumer<SimpleWindwardContext> consumer)
register function with delete method
|
Windward |
Windward.delete(String relativePath,
Function<EnhancedWindwardContext,?> function)
register function with delete method
|
<R> Windward |
Windward.delete(String relativePath,
Supplier<R> supplier)
register function with delete method
|
Windward |
Windward.get(String relativePath,
Consumer<SimpleWindwardContext> consumer)
register function with get method
|
Windward |
Windward.get(String relativePath,
Function<EnhancedWindwardContext,?> function)
register function with get method
|
<R> Windward |
Windward.get(String relativePath,
Supplier<R> supplier)
register function with get method
|
Windward |
Windward.http(HttpMethod httpMethod,
String relativePath,
Consumer<SimpleWindwardContext> consumer)
register function with specific method
|
Windward |
Windward.http(HttpMethod httpMethod,
String relativePath,
Function<EnhancedWindwardContext,?> function)
register function with specific method
|
<R> Windward |
Windward.http(HttpMethod httpMethod,
String relativePath,
Supplier<R> supplier)
register function with specific method
|
Windward |
Windward.post(String relativePath,
Consumer<SimpleWindwardContext> consumer)
register function with post method
|
Windward |
Windward.post(String relativePath,
Function<EnhancedWindwardContext,?> function)
register function with post method
|
<R> Windward |
Windward.post(String relativePath,
Supplier<R> supplier)
register function with post method
|
Windward |
Windward.put(String relativePath,
Consumer<SimpleWindwardContext> consumer)
register function with put method
|
Windward |
Windward.put(String relativePath,
Function<EnhancedWindwardContext,?> function)
register function with put method
|
<R> Windward |
Windward.put(String relativePath,
Supplier<R> supplier)
register function with put method
|
Windward |
Windward.registerExceptionHandler(ExceptionHandler... exceptionHandlers)
register exception handler
|
Windward |
Windward.registerFilter(Filter... filters)
register filter
|
Windward |
Windward.registerPlugin(Class<? extends Plugin> clazz,
Plugin plugin)
register plugin or overwrite existed
|
static Windward |
Windward.setup() |
static Windward |
Windward.setup(int port,
Filter... filters)
prepare core engine of Windward
|
static Windward |
Windward.setup(int port,
String contextPath,
Filter... filters)
prepare core engine of Windward
|
static Windward |
Windward.setup(int port,
String contextPath,
String resourceRoot,
Filter... filters)
prepare core engine of Windward
|
Windward |
Windward.then() |
Windward |
Windward.ws(String relativePath,
Consumer<WebSocketWindwardContext> consumer)
register websocket function
|
| Modifier and Type | Method and Description |
|---|---|
RouterGroup<Windward> |
Windward.group(String relativePath)
define new router with specific relativePath
|
| Constructor and Description |
|---|
DefaultRouterGroup(Windward windward) |
DefaultRouterGroup(Windward windward,
String relativePath) |
| Modifier and Type | Method and Description |
|---|---|
void |
PluginResolver.resolve(Windward windward,
Plugin plugin) |
void |
ViewPluginResolver.resolve(Windward windward,
Plugin plugin) |
void |
CompositePluginResolver.resolve(Windward windward,
Plugin plugin) |
Copyright © 2023 flmelody. All rights reserved.