| 构造器和说明 |
|---|
RequestExecution(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest fullHttpRequest) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handle(Signature signature)
handle route signature
|
boolean |
invokeHook(List<Route> hooks,
Signature signature)
invoke hooks
|
boolean |
invokeHook(Signature routeSignature,
Route hookRoute)
Invoke WebHook
|
boolean |
invokeMiddleware(List<Route> middleware,
Signature signature) |
void |
routeHandle(Signature signature)
Actual routing method execution
|
void |
run() |
public RequestExecution(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest fullHttpRequest)
public void routeHandle(Signature signature) throws Exception
signature - signatureExceptionpublic void handle(Signature signature) throws Exception
signature - route request signatureException - throw like parse param exceptionpublic boolean invokeHook(Signature routeSignature, Route hookRoute) throws Exception
routeSignature - current execute route handler signaturehookRoute - current webhook route handlerException - throw like parse param exceptionpublic boolean invokeMiddleware(List<Route> middleware, Signature signature) throws BladeException
BladeExceptionCopyright © 2018. All rights reserved.