Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

AbstractRouterGroup - Class in org.flmelody.core
 
AbstractRouterGroup() - Constructor for class org.flmelody.core.AbstractRouterGroup
 
AbstractRouterGroup(String) - Constructor for class org.flmelody.core.AbstractRouterGroup
 
AbstractWindwardContext - Class in org.flmelody.core.context
 
AbstractWindwardContext(WindwardRequest, WindwardResponse) - Constructor for class org.flmelody.core.context.AbstractWindwardContext
 
APPLICATION_JSON_VALUE - Static variable in class org.flmelody.core.MediaType
 

B

bindJson(Class<I>, Class<?>...) - Method in class org.flmelody.core.context.AbstractWindwardContext
bind request body to specific class.
bindJson(Class<I>, Class<?>...) - Method in class org.flmelody.core.context.EmptyWindwardContext
 
bindJson(Class<I>, Class<?>...) - Method in interface org.flmelody.core.context.WindwardContext
bind request body to specific class.
build() - Method in class org.flmelody.core.WindwardRequest.WindwardRequestBuilder
 
build() - Method in class org.flmelody.core.WindwardResponse.WindwardResponseBuild
 
buildUrl(String...) - Static method in class org.flmelody.util.UrlUtil
 

C

channelRead0(ChannelHandlerContext, Object) - Method in class org.flmelody.core.netty.handler.HttpServerHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.flmelody.core.netty.handler.HttpServerHandler
 
close() - Method in class org.flmelody.core.context.AbstractWindwardContext
close context
close() - Method in class org.flmelody.core.context.EmptyWindwardContext
 
close() - Method in interface org.flmelody.core.context.WindwardContext
close context
close() - Method in class org.flmelody.core.netty.NettyResponseWriter
 
close() - Method in interface org.flmelody.core.ResponseWriter
close connection

D

DefaultRouterGroup - Class in org.flmelody.core
default router group
DefaultRouterGroup() - Constructor for class org.flmelody.core.DefaultRouterGroup
 
DefaultRouterGroup(String) - Constructor for class org.flmelody.core.DefaultRouterGroup
 
delete(String, Supplier<R>) - Method in class org.flmelody.core.AbstractRouterGroup
 
delete(String, Consumer<SimpleWindwardContext>) - Method in class org.flmelody.core.AbstractRouterGroup
 
delete(String, Function<EnhancedWindwardContext, ?>) - Method in class org.flmelody.core.AbstractRouterGroup
 
delete(String, Supplier<R>) - Method in interface org.flmelody.core.Router
register function with delete method
delete(String, Consumer<SimpleWindwardContext>) - Method in interface org.flmelody.core.Router
register function with delete method
delete(String, Function<EnhancedWindwardContext, ?>) - Method in interface org.flmelody.core.Router
register function with delete method
delete(String, Supplier<R>) - Method in class org.flmelody.core.Windward
 
delete(String, Consumer<SimpleWindwardContext>) - Method in class org.flmelody.core.Windward
 
delete(String, Function<EnhancedWindwardContext, ?>) - Method in class org.flmelody.core.Windward
 

E

EmptyWindwardContext - Class in org.flmelody.core.context
 
EmptyWindwardContext() - Constructor for class org.flmelody.core.context.EmptyWindwardContext
 
EnhancedWindwardContext - Class in org.flmelody.core.context
 
EnhancedWindwardContext(WindwardRequest, WindwardResponse) - Constructor for class org.flmelody.core.context.EnhancedWindwardContext
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.flmelody.core.netty.handler.HttpServerHandler
 
ExceptionHandler - Interface in org.flmelody.core
 
exceptionHandlers() - Static method in class org.flmelody.core.Windward
get exception handlers

F

Filter - Interface in org.flmelody.core
 
filter(WindwardContext) - Method in interface org.flmelody.core.Filter
 
filter(WindwardContext) - Method in class org.flmelody.core.LoggingFilter
 
filters() - Static method in class org.flmelody.core.Windward
get filters
findRouter(String, String) - Static method in class org.flmelody.core.Windward
find out registered function by specific path
FunctionMetaInfo<I> - Class in org.flmelody.core
 
FunctionMetaInfo(I, Class<? extends WindwardContext>) - Constructor for class org.flmelody.core.FunctionMetaInfo
 

G

get(String, Supplier<R>) - Method in class org.flmelody.core.AbstractRouterGroup
 
get(String, Consumer<SimpleWindwardContext>) - Method in class org.flmelody.core.AbstractRouterGroup
 
get(String, Function<EnhancedWindwardContext, ?>) - Method in class org.flmelody.core.AbstractRouterGroup
 
get(String, Supplier<R>) - Method in interface org.flmelody.core.Router
register function with get method
get(String, Consumer<SimpleWindwardContext>) - Method in interface org.flmelody.core.Router
register function with get method
get(String, Function<EnhancedWindwardContext, ?>) - Method in interface org.flmelody.core.Router
register function with get method
get(String, Supplier<R>) - Method in class org.flmelody.core.Windward
 
get(String, Consumer<SimpleWindwardContext>) - Method in class org.flmelody.core.Windward
 
get(String, Function<EnhancedWindwardContext, ?>) - Method in class org.flmelody.core.Windward
 
getClazz() - Method in class org.flmelody.core.FunctionMetaInfo
 
getFunction() - Method in class org.flmelody.core.FunctionMetaInfo
 
getHeader(String) - Method in class org.flmelody.core.WindwardRequest
return request header
getMethod() - Method in class org.flmelody.core.WindwardRequest
get request methods name
getQuerystring() - Method in class org.flmelody.core.WindwardRequest
get request querystring
getRequestBody() - Method in class org.flmelody.core.context.AbstractWindwardContext
get request body
getRequestBody() - Method in class org.flmelody.core.context.EmptyWindwardContext
 
getRequestBody() - Method in interface org.flmelody.core.context.WindwardContext
get request body
getRequestBody() - Method in class org.flmelody.core.WindwardRequest
get request body
getRequestParameter(String) - Method in class org.flmelody.core.context.AbstractWindwardContext
get parameter by name and type
getRequestParameter(String) - Method in class org.flmelody.core.context.EmptyWindwardContext
 
getRequestParameter(String) - Method in interface org.flmelody.core.context.WindwardContext
get parameter by name and type
getRequestParameters(String) - Method in class org.flmelody.core.context.AbstractWindwardContext
get parameter as list
getRequestParameters(String) - Method in class org.flmelody.core.context.EmptyWindwardContext
 
getRequestParameters(String) - Method in interface org.flmelody.core.context.WindwardContext
get parameter as list
getUri() - Method in class org.flmelody.core.WindwardRequest
request uri
group(String) - Method in class org.flmelody.core.Windward
define new router with specific relativePath

H

handle(WindwardContext) - Method in interface org.flmelody.core.ExceptionHandler
 
headers(Map<String, List<String>>) - Method in class org.flmelody.core.WindwardRequest.WindwardRequestBuilder
 
HttpMethod - Enum in org.flmelody.core
 
HttpServer - Interface in org.flmelody.core
 
HttpServerHandler - Class in org.flmelody.core.netty.handler
 
HttpServerHandler() - Constructor for class org.flmelody.core.netty.handler.HttpServerHandler
 
HttpStatus - Enum in org.flmelody.core
 

I

isClosed() - Method in class org.flmelody.core.context.AbstractWindwardContext
check if current context is already closed
isClosed() - Method in class org.flmelody.core.context.EmptyWindwardContext
 
isClosed() - Method in interface org.flmelody.core.context.WindwardContext
check if current context is already closed

J

JacksonUtil - Class in org.flmelody.util
 
JsonDeserializeException - Exception in org.flmelody.core.exception
 
JsonDeserializeException(Throwable) - Constructor for exception org.flmelody.core.exception.JsonDeserializeException
 
JsonDeserializeException(String) - Constructor for exception org.flmelody.core.exception.JsonDeserializeException
 
JsonSerializeException - Exception in org.flmelody.core.exception
 
JsonSerializeException(Throwable) - Constructor for exception org.flmelody.core.exception.JsonSerializeException
 
JsonSerializeException(String) - Constructor for exception org.flmelody.core.exception.JsonSerializeException
 

K

keepAlive(Boolean) - Method in class org.flmelody.core.WindwardRequest.WindwardRequestBuilder
 
keepConnection(Boolean) - Method in class org.flmelody.core.WindwardResponse.WindwardResponseBuild
 

L

LoggingFilter - Class in org.flmelody.core
 
LoggingFilter() - Constructor for class org.flmelody.core.LoggingFilter
 

M

matchRouter(String, String) - Method in class org.flmelody.core.AbstractRouterGroup
 
matchRouter(String, String) - Method in interface org.flmelody.core.RouterGroup
find out matched router function
MediaType - Class in org.flmelody.core
 
method(String) - Method in class org.flmelody.core.WindwardRequest.WindwardRequestBuilder
 
MULTIPART_FORM_DATA_VALUE - Static variable in class org.flmelody.core.MediaType
 

N

NettyHttpServer - Class in org.flmelody.core.netty
 
NettyHttpServer(int) - Constructor for class org.flmelody.core.netty.NettyHttpServer
 
NettyResponseWriter - Class in org.flmelody.core.netty
 
NettyResponseWriter(ChannelHandlerContext) - Constructor for class org.flmelody.core.netty.NettyResponseWriter
 
newBuild() - Static method in class org.flmelody.core.WindwardRequest
 
newBuilder() - Static method in class org.flmelody.core.WindwardResponse
 
NoRequestBodyException - Exception in org.flmelody.core.exception
 
NoRequestBodyException() - Constructor for exception org.flmelody.core.exception.NoRequestBodyException
 

O

org.flmelody.core - package org.flmelody.core
 
org.flmelody.core.context - package org.flmelody.core.context
 
org.flmelody.core.exception - package org.flmelody.core.exception
 
org.flmelody.core.netty - package org.flmelody.core.netty
 
org.flmelody.core.netty.handler - package org.flmelody.core.netty.handler
 
org.flmelody.util - package org.flmelody.util
 

P

post(String, Supplier<R>) - Method in class org.flmelody.core.AbstractRouterGroup
 
post(String, Consumer<SimpleWindwardContext>) - Method in class org.flmelody.core.AbstractRouterGroup
 
post(String, Function<EnhancedWindwardContext, ?>) - Method in class org.flmelody.core.AbstractRouterGroup
 
post(String, Supplier<R>) - Method in interface org.flmelody.core.Router
register function with post method
post(String, Consumer<SimpleWindwardContext>) - Method in interface org.flmelody.core.Router
register function with post method
post(String, Function<EnhancedWindwardContext, ?>) - Method in interface org.flmelody.core.Router
register function with post method
post(String, Supplier<R>) - Method in class org.flmelody.core.Windward
 
post(String, Consumer<SimpleWindwardContext>) - Method in class org.flmelody.core.Windward
 
post(String, Function<EnhancedWindwardContext, ?>) - Method in class org.flmelody.core.Windward
 
put(String, Supplier<R>) - Method in class org.flmelody.core.AbstractRouterGroup
 
put(String, Consumer<SimpleWindwardContext>) - Method in class org.flmelody.core.AbstractRouterGroup
 
put(String, Function<EnhancedWindwardContext, ?>) - Method in class org.flmelody.core.AbstractRouterGroup
 
put(String, Supplier<R>) - Method in interface org.flmelody.core.Router
register function with put method
put(String, Consumer<SimpleWindwardContext>) - Method in interface org.flmelody.core.Router
register function with put method
put(String, Function<EnhancedWindwardContext, ?>) - Method in interface org.flmelody.core.Router
register function with put method
put(String, Supplier<R>) - Method in class org.flmelody.core.Windward
 
put(String, Consumer<SimpleWindwardContext>) - Method in class org.flmelody.core.Windward
 
put(String, Function<EnhancedWindwardContext, ?>) - Method in class org.flmelody.core.Windward
 

Q

querystring(Map<String, List<String>>) - Method in class org.flmelody.core.WindwardRequest.WindwardRequestBuilder
 

R

readJson(Class<I>) - Method in class org.flmelody.core.context.AbstractWindwardContext
read request body into new object possibly
readJson(Class<I>) - Method in class org.flmelody.core.context.EmptyWindwardContext
 
readJson(Class<I>) - Method in interface org.flmelody.core.context.WindwardContext
read request body into new object possibly
reasonPhrase() - Method in enum org.flmelody.core.HttpStatus
 
registerExceptionHandler(ExceptionHandler...) - Method in class org.flmelody.core.Windward
register exception handler
registerFilter(Filter...) - Method in class org.flmelody.core.Windward
register filter
requestBody(String) - Method in class org.flmelody.core.WindwardRequest.WindwardRequestBuilder
 
ResponseWriter - Interface in org.flmelody.core
 
responseWriter(ResponseWriter) - Method in class org.flmelody.core.WindwardResponse.WindwardResponseBuild
 
Router - Interface in org.flmelody.core
 
RouterGroup - Interface in org.flmelody.core
 
run() - Method in interface org.flmelody.core.HttpServer
 
run() - Method in class org.flmelody.core.netty.NettyHttpServer
 
run() - Method in class org.flmelody.core.Windward
run server

S

ServerException - Exception in org.flmelody.core.exception
 
ServerException(String) - Constructor for exception org.flmelody.core.exception.ServerException
 
setGroupPath(String) - Method in class org.flmelody.core.AbstractRouterGroup
 
setup() - Static method in class org.flmelody.core.Windward
 
setup(int, Filter...) - Static method in class org.flmelody.core.Windward
prepare core engine of Windward
setup(int, String, Filter...) - Static method in class org.flmelody.core.Windward
prepare core engine of Windward
SimpleWindwardContext - Class in org.flmelody.core.context
 
SimpleWindwardContext(WindwardRequest, WindwardResponse) - Constructor for class org.flmelody.core.context.SimpleWindwardContext
 
SLASH - Static variable in class org.flmelody.util.UrlUtil
 
supported(Exception) - Method in interface org.flmelody.core.ExceptionHandler
 

T

TEXT_PLAIN_VALUE - Static variable in class org.flmelody.core.MediaType
 
then() - Method in class org.flmelody.core.Windward
 
toJson(I) - Static method in class org.flmelody.util.JacksonUtil
convert data into json string
toObject(String, Class<O>) - Static method in class org.flmelody.util.JacksonUtil
convert json string into specific class

U

uri(String) - Method in class org.flmelody.core.WindwardRequest.WindwardRequestBuilder
 
UrlUtil - Class in org.flmelody.util
 

V

validate(String, Class<T>, Class<?>...) - Static method in class org.flmelody.util.ValidationUtil
try to convert json content to target object
ValidationException - Exception in org.flmelody.core.exception
 
ValidationException(String) - Constructor for exception org.flmelody.core.exception.ValidationException
 
ValidationUtil - Class in org.flmelody.util
 
value() - Method in enum org.flmelody.core.HttpStatus
 
valueOf(String) - Static method in enum org.flmelody.core.HttpMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.flmelody.core.HttpStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.flmelody.core.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.flmelody.core.HttpStatus
Returns an array containing the constants of this enum type, in the order they are declared.

W

Windward - Class in org.flmelody.core
 
WindwardContext - Interface in org.flmelody.core.context
http context
windwardRequest() - Method in class org.flmelody.core.context.AbstractWindwardContext
get windwardRequest
windwardRequest() - Method in class org.flmelody.core.context.EmptyWindwardContext
 
windwardRequest() - Method in interface org.flmelody.core.context.WindwardContext
get windwardRequest
WindwardRequest - Class in org.flmelody.core
 
WindwardRequest.WindwardRequestBuilder - Class in org.flmelody.core
builder for WindwardRequest
WindwardResponse - Class in org.flmelody.core
 
WindwardResponse.WindwardResponseBuild - Class in org.flmelody.core
builder for WindwardResponse
write(int, T) - Method in class org.flmelody.core.netty.NettyResponseWriter
 
write(int, String, T) - Method in class org.flmelody.core.netty.NettyResponseWriter
 
write(int, String, T, boolean) - Method in class org.flmelody.core.netty.NettyResponseWriter
 
write(int, T) - Method in interface org.flmelody.core.ResponseWriter
write response data
write(int, String, T) - Method in interface org.flmelody.core.ResponseWriter
write response data
write(int, String, T, boolean) - Method in interface org.flmelody.core.ResponseWriter
write response data
write(int, T) - Method in class org.flmelody.core.WindwardResponse
write data into response
write(int, String, T) - Method in class org.flmelody.core.WindwardResponse
write data into response
writeAndClose(int, String, T) - Method in class org.flmelody.core.netty.NettyResponseWriter
 
writeAndClose(int, String, T) - Method in interface org.flmelody.core.ResponseWriter
write response data
writeJson(T) - Method in class org.flmelody.core.context.AbstractWindwardContext
response json
writeJson(int, T) - Method in class org.flmelody.core.context.AbstractWindwardContext
response json
writeJson(int, T) - Method in class org.flmelody.core.context.EmptyWindwardContext
 
writeJson(T) - Method in interface org.flmelody.core.context.WindwardContext
response json
writeJson(int, T) - Method in interface org.flmelody.core.context.WindwardContext
response json
writeString(String) - Method in class org.flmelody.core.context.AbstractWindwardContext
response plain string
writeString(int, String) - Method in class org.flmelody.core.context.AbstractWindwardContext
response plain string
writeString(int, String) - Method in class org.flmelody.core.context.EmptyWindwardContext
 
writeString(String) - Method in interface org.flmelody.core.context.WindwardContext
response plain string
writeString(int, String) - Method in interface org.flmelody.core.context.WindwardContext
response plain string
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2023 flmelody. All rights reserved.