| Package | Description |
|---|---|
| org.flmelody.core |
| Modifier and Type | Method and Description |
|---|---|
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
RouterGroup<M> |
AbstractRouterGroup.http(HttpMethod httpMethod,
String relativePath,
Consumer<SimpleWindwardContext> consumer) |
Windward |
Windward.http(HttpMethod httpMethod,
String relativePath,
Consumer<SimpleWindwardContext> consumer)
Register function with specific method
|
T |
Router.http(HttpMethod httpMethod,
String relativePath,
Consumer<SimpleWindwardContext> consumer)
Register function with specific method
|
<C extends EnhancedWindwardContext & HttpKind> |
AbstractRouterGroup.http(HttpMethod httpMethod,
String relativePath,
EnhancedFunction<C,?> function) |
<C extends EnhancedWindwardContext & HttpKind> |
Windward.http(HttpMethod httpMethod,
String relativePath,
EnhancedFunction<C,?> function)
Register function with specific method
|
<C extends EnhancedWindwardContext & HttpKind> |
Router.http(HttpMethod httpMethod,
String relativePath,
EnhancedFunction<C,?> function)
Register function with specific method
|
<R> RouterGroup<M> |
AbstractRouterGroup.http(HttpMethod httpMethod,
String relativePath,
Supplier<R> supplier) |
<R> Windward |
Windward.http(HttpMethod httpMethod,
String relativePath,
Supplier<R> supplier)
Register function with specific method
|
<R> T |
Router.http(HttpMethod httpMethod,
String relativePath,
Supplier<R> supplier)
Register function with specific method
|
RouterGroup<M> |
AbstractRouterGroup.sse(HttpMethod httpMethod,
String relativePath,
EnhancedFunction<SseWindwardContext,SseEjector> function) |
Windward |
Windward.sse(HttpMethod httpMethod,
String relativePath,
EnhancedFunction<SseWindwardContext,SseEjector> function)
Register SSE (server send event)
|
T |
Router.sse(HttpMethod httpMethod,
String relativePath,
EnhancedFunction<SseWindwardContext,SseEjector> function)
Register SSE (server send event)
|
Copyright © 2024 flmelody. All rights reserved.